mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 00:27:21 +00:00
allow constant expressions in if statements
This commit is contained in:
1 parent
c4f927e72c
commit
8b97d74e0a
4 files changed
+37
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
test("hello", 1);
|
||||
test("ghgj{}()\"\\hgjhgj", 3.4);
|
||||
|
||||
if(test("hello", 1) == test("hello", 1)) {
|
||||
if(test("hello", 1) == "a string literal") {
|
||||
test("hello", 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user