mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-18 14:20:02 +00:00
allow constant expressions in if statements
This commit is contained in:
@@ -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