Merge pull request #2334 from tong/fix-throw-assert-error

Fix assert throw error
This commit is contained in:
Lubos Lenco 2021-09-13 10:03:11 +02:00 committed by GitHub
commit 156f1f433a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ class Assert {
#if arm_assert_quit kha.System.stop(); #end
@:pos(condition.pos)
@:privateAccess throwAssertionError($v{condition.toString()}, ${message});
@:privateAccess armory.system.Assert.throwAssertionError($v{condition.toString()}, ${message});
}
}
default: