1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 08:30:25 +02:00

Const-eval release fix

This commit is contained in:
Brian Fiete 2020-12-23 08:59:22 -08:00
parent ff1f8aff3f
commit 3611846b7f
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,7 @@ namespace Tests
const String cStrA = "Abc";
const String cStrB = GetStringA(cStrA, 12, 23);
// ConstEval attribute means this method will always be const-evaluated
[ConstEval]
static String GetStringA(String str, int a, int b)
{