diff options
author | SirOlaf <34164198+SirOlaf@users.noreply.github.com> | 2023-09-02 20:42:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 20:42:40 +0200 |
commit | d2f36c071b1967e864961f423596d3931e84e49b (patch) | |
tree | d32b7408a482d421a478c344250c48010c47fbde /tests/exprs/t22604.nim | |
parent | bd6adbcc9d5a22f686eed7bc988a1c0b1b0a17e4 (diff) | |
download | Nim-d2f36c071b1967e864961f423596d3931e84e49b.tar.gz |
Exclude block from endsInNoReturn, fix regression (#22632)
Co-authored-by: SirOlaf <>
Diffstat (limited to 'tests/exprs/t22604.nim')
-rw-r--r-- | tests/exprs/t22604.nim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/exprs/t22604.nim b/tests/exprs/t22604.nim index 570f989d6..c41cd3dfa 100644 --- a/tests/exprs/t22604.nim +++ b/tests/exprs/t22604.nim @@ -10,19 +10,6 @@ for i in 0..<1: else: raiseAssert "Won't get here" -# block -for i in 0..<1: - let x = - case false - of true: - 42 - of false: - block: - if true: - continue - else: - raiseAssert "Won't get here" - # nested case for i in 0..<1: let x = |