No��� we should make sure that MC loads the method first. I think it does that for #compilerClass
On 21 Nov 2013, at 11:34, Sven Van Caekenberghe <sven@stfx.eu> wrote:
>
> On 19 Nov 2013, at 16:45, Sven Van Caekenberghe <sven@stfx.eu> wrote:
>
>>>
>>> Yes, you can do it per class-hierarchy��� you can implement on the class side a method to parametrize the compiler:
>>>
>>> compiler
>>> �� �� ^super compiler options: #(- optionInlineTimesRepeat)
>>
>> Thanks, Marcus, that works just great.
>
> Marcus,
>
> Are we sure this option mechanism works when loading code through Monticello ?
>
already (but not sure).
> I mean, this build fails the PEGParser tests:
>
> ��https://ci.inria.fr/pharo-contribution/job/Xtreams/
>
> but it includes the #compiler options in Xtreams-Parsing-nice.7
>
> Could it not be that this is a chicken-egg problem: the #compiler options are only there _after_ the class is loaded/compiled, or maybe it is an instance/class side problem ?
>
> Sven
>
>