the superclass of a singleton class is the singleton class of the superclass
And i have tests to prove it! That just rolls of the tongue, it had to be the commit message
This commit is contained in:
@ -44,6 +44,7 @@ module Vool
|
||||
@receiver = SelfExpression.new(compiler.receiver_type) if @receiver.is_a?(SelfExpression)
|
||||
if(@receiver.ct_type)
|
||||
method = @receiver.ct_type.get_method(@name)
|
||||
#puts "Known #{@receiver.ct_type}: method #{method}"
|
||||
method = create_method_from_source(compiler) unless( method )
|
||||
return simple_call(compiler, method) if method
|
||||
end
|
||||
|
Reference in New Issue
Block a user