mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Added ConstEval to Compiler.Assert
This commit is contained in:
parent
8730f35c30
commit
54e02c59cd
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ namespace System
|
||||||
[LinkName("#CompileRev")]
|
[LinkName("#CompileRev")]
|
||||||
public static extern int32 CompileRev;
|
public static extern int32 CompileRev;
|
||||||
|
|
||||||
[Comptime]
|
[Comptime(ConstEval=true)]
|
||||||
public static void Assert(bool cond)
|
public static void Assert(bool cond)
|
||||||
{
|
{
|
||||||
if (!cond)
|
if (!cond)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue