renaming methods args and frame

to arguments_type and frame_type, because that is what they are
In honour of setup bug, where the types of those types were loaded,
instead of just them types
This commit is contained in:
Torsten Ruger
2018-04-05 12:22:14 +03:00
parent cf6636ddda
commit ee0a1ca823
8 changed files with 47 additions and 47 deletions

View File

@ -8,7 +8,7 @@ module Vool
end
def to_mom( method )
if method.arguments.variable_index(@name)
if method.arguments_type.variable_index(@name)
type = :arguments
else
type = :frame

View File

@ -11,7 +11,7 @@ module Vool
class LocalVariable < Expression
include Named
def slot_definition(method)
if method.arguments.variable_index(@name)
if method.arguments_type.variable_index(@name)
type = :arguments
else
type = :frame