Fellow ChucKists,

I believe this to be a bug;
-------------------------------------------------------
class foo
    {
    3 => static int bar;
    }

<<<foo.bar>>>;
----------------------------------------

For float, int and dur making members static prevents them being set to a default value at construction,
instead they are defaulting to 0 (or 0::ms). I ran into this with dur, where it's obviously dangerous to make this mistake.

Of course these constructs would (probably?) mean that initialising any instance of such a class would mean resetting the value for all instancesbut I'm dealing with classes that exclusively have static members and not intending to make any specific instances of them. Clearly this is easy to get around but I still feel it's a bug.

Yours,
Kas.