passing compiler to to_mom, not method

To be able to delegate scope (block/method) things later
This commit is contained in:
Torsten Ruger
2018-07-05 14:02:38 +03:00
parent 16d91f24ce
commit 3f80953385
15 changed files with 78 additions and 74 deletions

View File

@ -52,13 +52,13 @@ module Vool
def normalize
raise "should not be normalized #{self}"
end
def to_mom(method)
def to_mom(compiler)
raise "should not be momed #{self}"
end
# for loading into a lot, return the "slot_definition" that can be passed to
# SlotLoad.
def slot_definition(method)
def slot_definition(compiler)
raise "not iplemented in #{self}"
end