was missing some super inits
This commit is contained in:
parent
a28b41a5f5
commit
531d3e181a
@ -6,6 +6,7 @@ module Parfait
|
|||||||
#
|
#
|
||||||
# internally we store keys and values in lists, which means this does **not** scale well
|
# internally we store keys and values in lists, which means this does **not** scale well
|
||||||
def initialize
|
def initialize
|
||||||
|
super()
|
||||||
@keys = List.new_object()
|
@keys = List.new_object()
|
||||||
@values = List.new_object()
|
@values = List.new_object()
|
||||||
end
|
end
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
module Parfait
|
module Parfait
|
||||||
class Frame < Object
|
class Frame < Object
|
||||||
def initialize locals , temps
|
def initialize locals , temps
|
||||||
|
super()
|
||||||
@locals = locals
|
@locals = locals
|
||||||
@tmps = tmps
|
@tmps = tmps
|
||||||
end
|
end
|
||||||
|
@ -20,6 +20,7 @@ module Parfait
|
|||||||
class Method < Object
|
class Method < Object
|
||||||
|
|
||||||
def initialize name , arg_names
|
def initialize name , arg_names
|
||||||
|
super()
|
||||||
@name = name
|
@name = name
|
||||||
@arg_names = arg_names
|
@arg_names = arg_names
|
||||||
@locals = []
|
@locals = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user