On Sat, Oct 12, 2013 at 06:13:46PM +0200, Paolo Bonzini wrote:

> >  [
> >    ##(Exception printNl)
> >  ]
> 
> compile_compile_time_constant always uses nil as the receiver.
> I think you should:
> 
> (1) in parse_compile_time_constant, change the class to the metaclass
> for _gst_current_parser->currentClass
> 
> (2) in compile_compile_time_constant, change the receiver to the
> instance class of the method's class (aka METACLASS_INSTANCE).

Eval [
  ##(Exception printNl)
]

the currentClass is nil in this case? So you ask for using
 "nil class asMetaclass"

> Yeah, return false and set *chain = _gst_nil_oop too.

great, I will do the change and push it to master.

holger

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to