1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Support System.Compiler values in comptime, SetReturnType, Enum helpers

This commit is contained in:
Brian Fiete 2022-06-23 11:53:21 -07:00
parent 0e86b5c49d
commit 2a55b5c7bb
14 changed files with 341 additions and 63 deletions

View file

@ -137,6 +137,10 @@ namespace Tests
EnumG eg = .A;
eg.Set(66);
Test.Assert(eg == .B);
var ea = EnumA.MaxValue;
Test.Assert(ea == .B);
Test.Assert(EnumA.Count == 2);
}
}
}