Skip to content

Commit

Permalink
Add regression test for #1628. (#1629)
Browse files Browse the repository at this point in the history
Add regression test for #1628.

Looks like this was already fixed by #1615.

Close #1628.
  • Loading branch information
munificent authored Dec 17, 2024
1 parent b6e6bfc commit 21de99e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test/tall/regression/1600/1628.unit
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
>>>
bool f(bool b, int i) {
return // Check b.
b == true || i.isEven;
}
<<<
bool f(bool b, int i) {
return // Check b.
b == true || i.isEven;
}
>>>
bool f(bool b, int i) {
return // Check b.
b == true ||
// Check i.
i
.isEven;
}
<<<
bool f(bool b, int i) {
return // Check b.
b == true ||
// Check i.
i.isEven;
}

0 comments on commit 21de99e

Please sign in to comment.