diff options
| author | gitlost <burmartke@gmail.com> | 2022-03-18 13:57:22 +0000 |
|---|---|---|
| committer | gitlost <burmartke@gmail.com> | 2022-03-18 13:57:22 +0000 |
| commit | fdbbf242718746ad71cb410162c6d0b8c68c5af0 (patch) | |
| tree | e59916b9492dfd5e178997ce365e4e6af97534d3 /src/check_expr.cpp | |
| parent | df233f72a9d1bddb801bdaf150537477d4c23962 (diff) | |
Fix issue #1592 "LLVM code gen error when using a constant in an if"
Changes lb_build_if_stmt() to return null lbValue if condition is
cmpAnd, cmpOr or non-const neg and check in lb_build_if_stmt()
to avoid short circuiting if that's the case
Adds test to "tests/issues" and adds step in CI to check this dir
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions