fix old tests again

This commit is contained in:
Torsten Ruger
2015-05-24 16:55:03 +03:00
parent 29a34b4d24
commit 95ac024421
7 changed files with 23 additions and 11 deletions

View File

@@ -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