ソースを参照

[eval] don't assert when there's no frame for exceptions

see #8039
Simon Krajewski 6 年 前
コミット
8355bcf2eb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/macro/eval/evalContext.ml

+ 1 - 1
src/macro/eval/evalContext.ml

@@ -339,7 +339,7 @@ let throw v p =
 		end;
 		raise_notrace (RunTimeException(v,call_stack eval,p))
 	| None ->
-		assert false
+		raise_notrace (RunTimeException(v,[],p))
 
 let exc v = throw v null_pos