[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Fun/Crashes with newer GCC on Debian
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] Fun/Crashes with newer GCC on Debian |
Date: |
Sun, 13 Oct 2013 13:58:45 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
Re: [Help-smalltalk] Fun/Crashes with newer GCC on Debian, Paolo Bonzini, 2013/10/12