check for correct operator

was getting passed sol constants
This commit is contained in:
2020-03-17 11:00:03 +02:00
parent e4a79aac50
commit 6366ede8ee
2 changed files with 9 additions and 3 deletions

View File

@ -73,7 +73,7 @@ module Sol
# for loading into a slot, return the "slot_definition" that can be passed to
# SlotLoad.
def to_slot(compiler)
raise "not iplemented in #{self}"
raise "not implemented in #{self}:#{self.class}"
end
end