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

Added ConstEval to Compiler.Assert

This commit is contained in:
Brian Fiete 2022-04-16 07:16:35 -07:00
parent 8730f35c30
commit 54e02c59cd

View file

@ -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)