fix old tests again
This commit is contained in:
@ -68,7 +68,7 @@ module Parfait
|
||||
end
|
||||
|
||||
def instance_variable_defined name
|
||||
layout().index_of(name)
|
||||
get_layout().index_of(name)
|
||||
end
|
||||
|
||||
# Object
|
||||
|
@ -109,7 +109,7 @@ module Parfait
|
||||
|
||||
# as we answered is_value? with true, sof will create a basic node with this string
|
||||
def to_sof
|
||||
"\"#{to_s}\""
|
||||
"'" + to_s + "'"
|
||||
end
|
||||
|
||||
#below here is OLD, DUBIOUS and needs to be checked TODO
|
||||
|
@ -1,4 +1,5 @@
|
||||
require_relative "object"
|
||||
|
||||
require_relative "positioned"
|
||||
|
||||
module Virtual
|
||||
|
||||
@ -9,7 +10,8 @@ module Virtual
|
||||
# It is actually the point of the virtual machine layer to express oo functionality in the set of
|
||||
# instructions, thus defining a minimal set of instructions needed to implement oo.
|
||||
|
||||
class Instruction < Virtual::Object
|
||||
class Instruction
|
||||
include Positioned
|
||||
|
||||
# simple thought: don't recurse for Blocks, just check their names
|
||||
def == other
|
||||
|
Reference in New Issue
Block a user