enum W:
Long = 0xff0000000000
assert W.Long == 0xff0000000000
The assert fails as Boo silently emits int enums only.
We need to be able to switch to long enum when at least one of the enum values is a long.
Edited the title as it is more broad than that since using a long enum from an external assembly (C#-built for instance) produce invalid IL (using i4 always).
Description
enum W:
Long = 0xff0000000000
assert W.Long == 0xff0000000000
The assert fails as Boo silently emits int enums only.
We need to be able to switch to long enum when at least one of the enum values is a long.
Edited the title as it is more broad than that since using a long enum from an external assembly (C#-built for instance) produce invalid IL (using i4 always).
assert W.Long == 0xff0000000000
{code}
The assert fails as Boo silently emits int enums only.
We need to be able to switch to long enum when at least one of the enum values is a long.
{code}
enum W:
Long = 0xff0000000000
assert W.Long == 0xff0000000000
{code}
The assert fails as Boo silently emits int enums only.
We need to be able to switch to long enum when at least one of the enum values is a long.
Edited the title as it is more broad than that since using a long enum from an external assembly (C#-built for instance) produce invalid IL (using i4 always).
Fixed in rev. 3168