Explorar el Código

handle abstract casts in macro context

Simon Krajewski hace 12 años
padre
commit
719040411e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      typer.ml

+ 1 - 1
typer.ml

@@ -3380,7 +3380,7 @@ and flush_macro_context mint ctx =
 		mint
 	end else mint in
 	(* we should maybe ensure that all filters in Main are applied. Not urgent atm *)
-	Interp.add_types mint types (Codegen.post_process [Codegen.captured_vars mctx.com; Codegen.rename_local_vars mctx.com]);
+	Interp.add_types mint types (Codegen.post_process [Codegen.handle_abstract_casts mctx; Codegen.captured_vars mctx.com; Codegen.rename_local_vars mctx.com]);
 	Codegen.post_process_end()
 
 let create_macro_interp ctx mctx =