[nem-en] patch for matching compiler
Marcin Grzeskowiak
fnord at silesianet.pl
Mon Oct 24 10:05:03 CEST 2005
Two more things:
1) my patch should close bug 534
2) I am not sure if this is intentional or a bug but I had some problems
with constructors in variants that contain constant options, e.g.:
variant V
{
A { v : V; }
B
public x : int;
public this ()
{
x = -1;
}
}
The constructor is called each time V.A () is instantiaded but only once
for V.B ().
In DecisionTreeBuilder.n I had this problem with Decision.Failure and
I handled this by adding unused field to the option (but it took me
some time to find out why my code isn't working).
Marcin
PS. sorry if my posts are outside the thread but currently I can't
use any mail client to send them
*************************************************
Śląski Pasaż Handlowy - wpadnij na zakupy
http://pasaz.silesianet.pl
*************************************************
More information about the devel-en
mailing list