From 54e02c59cd3c074d2c72de8bc2eed9a4e7ada7f2 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 16 Apr 2022 07:16:35 -0700 Subject: [PATCH] Added ConstEval to Compiler.Assert --- BeefLibs/corlib/src/Compiler.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeefLibs/corlib/src/Compiler.bf b/BeefLibs/corlib/src/Compiler.bf index 738b1cdc..410574ed 100644 --- a/BeefLibs/corlib/src/Compiler.bf +++ b/BeefLibs/corlib/src/Compiler.bf @@ -254,7 +254,7 @@ namespace System [LinkName("#CompileRev")] public static extern int32 CompileRev; - [Comptime] + [Comptime(ConstEval=true)] public static void Assert(bool cond) { if (!cond)