Skip to content

Commit 86eb39a

Browse files
committed
improve error message for non-tail in interp_tail
1 parent 622ddc1 commit 86eb39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interp_Cif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ def interp_tail(self, s, env):
3232
case False:
3333
return self.interp_stmts(self.blocks[els], env)
3434
case _:
35-
return super().interp_tail(s, env)
35+
raise Exception('interp_tail: unexpected ' + repr(s))

0 commit comments

Comments
 (0)