Pārlūkot izejas kodu

[macro] use vnull instead of asserting

closes #8024
Simon Krajewski 6 gadi atpakaļ
vecāks
revīzija
88c77bbe2c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/typing/macroContext.ml

+ 1 - 1
src/typing/macroContext.ml

@@ -677,7 +677,7 @@ let type_macro ctx mode cpath f (el:Ast.expr list) p =
 				| None -> Interp.vnull
 				end
 			| MAOther -> match Interp.eval_expr ictx et with
-				| None -> assert false
+				| None -> Interp.vnull
 				| Some v -> v
 		) eargs elt
 	in