Closed mfichman closed 12 years ago
Closed, except for an unrelated issue: Auto-importing is now ambiguous, because A::B::symbol could be from a module named "A::B" or from a class named "B" in module "A". To resolve, each module in the path will have to be tried for import separately, starting with A::B::C; and if that fails, A::B; and if that fails, A.
Add enums, which are basically implemented as a set of integers inside a class scope. For example:
Another alternative syntax is:
Similarly, union types have a similar syntax:
Or: