This commit is contained in:
Torsten Ruger 2015-10-26 15:14:38 +02:00
parent 55dd5f74fc
commit 624699f8ed
2 changed files with 2 additions and 3 deletions

View File

@ -33,8 +33,8 @@ module Parfait
def initialize( object_class )
super()
self.object_class = object_class
add_instance_variable :layout
self.object_class = object_class
end
def == other

View File

@ -77,8 +77,7 @@ module Register
end
object_class = classes[:Object]
# superclasses other than default object
supers = { :BinaryCode => :Word , :Layout => :List ,
:Object => :Kernel , :Kernel => :Value, :Integer => :Value }
supers = { :Object => :Kernel , :Kernel => :Value, :Integer => :Value }
layout_names.each do |classname , ivar|
next if classname == :Value # has no superclass
clazz = classes[classname]