Browse Source

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

see #8039
Simon Krajewski 6 years ago
parent
commit
8355bcf2eb
1 changed files with 1 additions and 1 deletions
  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