store method, not name, in message
changes the calling and thus too many test
This commit is contained in:
@ -72,8 +72,7 @@ module Mom
|
||||
named_list << next_message[:frame]
|
||||
named_list[:type] << type
|
||||
|
||||
name << callable_method[:name]
|
||||
next_message[:name] << name
|
||||
next_message[:method] << callable_method
|
||||
|
||||
#store next.next back into space
|
||||
#FIXME in a multithreaded future this should be done soon after getting
|
||||
|
@ -18,7 +18,7 @@ module Parfait
|
||||
attr_accessor :next_message
|
||||
attr_reader :receiver , :frame
|
||||
attr_reader :return_address, :return_value
|
||||
attr_reader :caller , :name , :arguments
|
||||
attr_reader :caller , :method , :arguments
|
||||
|
||||
def initialize( next_m )
|
||||
@next_message = next_m
|
||||
@ -40,7 +40,7 @@ module Parfait
|
||||
get_at(index)
|
||||
end
|
||||
def to_s
|
||||
"Message:#{name}(#{arguments.get_length})"
|
||||
"Message:#{method&.name}(#{arguments.get_length})"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -154,7 +154,7 @@ module Parfait
|
||||
List: {indexed_length: :Integer , next_list: :List} ,
|
||||
Message: { next_message: :Message, receiver: :Object, frame: :NamedList ,
|
||||
return_address: :Integer, return_value: :Object,
|
||||
caller: :Message , name: :Word , arguments: :NamedList },
|
||||
caller: :Message , method: :TypedMethod , arguments: :NamedList },
|
||||
NamedList: {},
|
||||
NilClass: {},
|
||||
Object: {},
|
||||
|
Reference in New Issue
Block a user