fixes #4721
This commit is contained in:
parent
87eb3a105d
commit
08a6f3fc67
4 changed files with 33 additions and 8 deletions
|
|
@ -18,3 +18,14 @@ test proc() =
|
|||
test proc() = discard
|
||||
else:
|
||||
test proc() = discard
|
||||
|
||||
# ensure 'case' does not trigger the same bug:
|
||||
test proc() =
|
||||
let f = 15
|
||||
case f
|
||||
of 10:
|
||||
test proc() = discard
|
||||
of 3:
|
||||
test proc() = discard
|
||||
else:
|
||||
test proc() = discard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue