summary refs log tree commit diff stats
path: root/tests/exprs/t22604.nim
diff options
context:
space:
mode:
authorSirOlaf <34164198+SirOlaf@users.noreply.github.com>2023-09-02 20:42:40 +0200
committerGitHub <noreply@github.com>2023-09-02 20:42:40 +0200
commitd2f36c071b1967e864961f423596d3931e84e49b (patch)
treed32b7408a482d421a478c344250c48010c47fbde /tests/exprs/t22604.nim
parentbd6adbcc9d5a22f686eed7bc988a1c0b1b0a17e4 (diff)
downloadNim-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.nim13
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 =