Makes slots linked list
slots used to ba an array of symbols Now we have an object for each slot, that holds the name and the next_slot relatively easy change, though quite broad
This commit is contained in:
@@ -32,7 +32,7 @@ module Sol
|
||||
|
||||
# create the slot lazily, so to_slot gets called first
|
||||
def check_slot(compiler , false_label)
|
||||
SlotMachine::TruthCheck.new(@condition.to_slot_definition(compiler) , false_label)
|
||||
SlotMachine::TruthCheck.new(@condition.to_slotted(compiler) , false_label)
|
||||
end
|
||||
|
||||
def each(&block)
|
||||
|
Reference in New Issue
Block a user