summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/parser/t15667.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/parser/t15667.nim b/tests/parser/t15667.nim
index d15178789..fcb862825 100644
--- a/tests/parser/t15667.nim
+++ b/tests/parser/t15667.nim
@@ -7,6 +7,7 @@ t15667.nim(28, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.n
 t15667.nim(33, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(31, 25) ?
 t15667.nim(42, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(38, 12) ?
 t15667.nim(56, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(55, 13) ?
+t15667.nim(61, 48) Error: expression expected, but found ','
 '''
 """
 
@@ -16,7 +17,6 @@ t15667.nim(56, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.n
 
 
 
-
 # line 20
 block:
   proc fn1()
@@ -56,3 +56,6 @@ block:
     runnableExamples:
       discard
     discard
+
+# semiStmtList loop issue
+proc bar(k:static bool):SomeNumber = (when k: 3, else: 3.0)