Open heuermh opened 10 years ago
Right -- the usual workaround is to initialize in the code following the class declaration. E.g.
class Impatient
{
static dur moment;
fun static void pause()
{
<<<"just a moment...", moment>>>;
}
}
1::ms => Impatient.moment;
Impatient.pause();
But a legitimate fix would be ideal.
I believe this may already be a known issue; it appears static dur fields are not statically initialized
reports
instead of the desired
See also
https://github.com/heuermh/lick/blob/master/Loops.ck#L26