enhance conditionals (#3643)

This commit is contained in:
Alex Lam S.L
2019-12-22 04:29:32 +00:00
committed by GitHub
parent 519a00bd8a
commit 75aa6ef848
5 changed files with 120 additions and 33 deletions

View File

@@ -21,7 +21,7 @@ cond_5: {
}
}
expect: {
some_condition() && some_other_condition() ? do_something() : alternate();
(some_condition() && some_other_condition() ? do_something : alternate)();
if (some_condition() && some_other_condition()) do_something();
}
}