瀏覽代碼

reverted :deprecated change

Simon Krajewski 12 年之前
父節點
當前提交
b6b880928b
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      typeload.ml

+ 0 - 4
typeload.ml

@@ -980,10 +980,6 @@ let build_module_def ctx mt meta fvars context_init fbuild =
 			(match r with
 			| None -> error "Build failure" p
 			| Some e -> fbuild e; loop l)
-		| (":deprecated",args,p) :: l ->
-			let msg = Printf.sprintf "%s is deprecated%s" (s_type_path (t_path mt)) (match args with [EConst(String s),_] -> ": " ^ s | _ -> "") in
-			ctx.com.warning msg p;
-			loop l
 		| _ :: l -> loop l
 		| [] -> ()
 	in