Nicolas Cannasse 13 anni fa
parent
commit
259f83fa4c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      typer.ml

+ 1 - 1
typer.ml

@@ -1986,7 +1986,7 @@ and type_call ctx e el t p =
 		type_expr ctx (ECall ((EField ((EField ((EConst (Ident "haxe"),p),"Log"),p),"trace"),p),[e;EUntyped infos,p]),p)
 	| (EConst (Ident "callback"),p) , e :: params ->
 		type_callback ctx e params p
-	| (EConst (Ident "type"),_) , [e] ->
+	| (EConst (Ident "$type"),_) , [e] ->
 		let e = type_expr ctx e in
 		ctx.com.warning (s_type (print_context()) e.etype) e.epos;
 		e