Skip to content

Commit

Permalink
Add test case from issue 76
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Zalewski committed Jun 15, 2020
1 parent 8458a75 commit 21fe693
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/Field/golden/03-issue-76.field
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ext x;
for z = 0 to -1 do
let x = x;
end;
let y = if (0 == x) then 0 else 0;
2 changes: 2 additions & 0 deletions test/Field/golden/03-issue-76.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ext x;

This comment has been minimized.

Copy link
@effectfully

effectfully Jun 15, 2020

Owner

@jakzale that x doesn't have a unique. We should print its unique here as well.

I assume it's going to be 0. In which case can we conclude that the bug from #76 is already fixed?

let y_3 = if (0 == x_0) then 0 else 0;

0 comments on commit 21fe693

Please sign in to comment.