static constants in classes don't allow arithmetic
Bug #403813 reported by
Friedrich Weber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ooc |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
This code doesn't compile for me:
class Blah {
static const UInt A = 1 + 1;
}
func main;
It says "./test.ooc:2:30: Unexpected node Plus which looks like '+', in doubt, no writing"
To post a comment you must log in.
That's quite lolesque. Fixed a *long* time ago.