was missing some super inits

This commit is contained in:
Torsten Ruger 2015-05-21 21:50:17 +03:00
parent a28b41a5f5
commit 531d3e181a
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ module Parfait
#
# internally we store keys and values in lists, which means this does **not** scale well
def initialize
super()
@keys = List.new_object()
@values = List.new_object()
end

View File

@ -23,6 +23,7 @@
module Parfait
class Frame < Object
def initialize locals , temps
super()
@locals = locals
@tmps = tmps
end

View File

@ -20,6 +20,7 @@ module Parfait
class Method < Object
def initialize name , arg_names
super()
@name = name
@arg_names = arg_names
@locals = []