mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Added support for some constant enums with payloads
This commit is contained in:
parent
5677f27cac
commit
86967c39c3
8 changed files with 313 additions and 39 deletions
|
@ -85,6 +85,9 @@ namespace Tests
|
|||
}
|
||||
Test.Assert(a == 3);
|
||||
Test.Assert(b == 4);
|
||||
|
||||
const EnumE e0 = .A;
|
||||
const EnumE e1 = .B(1);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue