Browse Source

apply @:noComplete to generated generic function specializations

Simon Krajewski 13 years ago
parent
commit
e9e8043bc8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      typer.ml

+ 1 - 0
typer.ml

@@ -1069,6 +1069,7 @@ let type_generic_function ctx (e,cf) el p =
 				| Some e -> Some (Codegen.generic_substitute_expr gctx e));
 				| Some e -> Some (Codegen.generic_substitute_expr gctx e));
 			cf2.cf_kind <- cf.cf_kind;
 			cf2.cf_kind <- cf.cf_kind;
 			cf2.cf_public <- cf.cf_public;
 			cf2.cf_public <- cf.cf_public;
+			cf2.cf_meta <- [":noComplete",[],p];
 			cf2
 			cf2
 		in
 		in
 		let e = if stat then type_type ctx c.cl_path p else e in
 		let e = if stat then type_type ctx c.cl_path p else e in