浏览代码

[js] add Error to reserved type paths

Dan Korostelev 10 年之前
父节点
当前提交
6eb173e995
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common.ml

+ 1 - 1
common.ml

@@ -565,7 +565,7 @@ let get_config com =
 			pf_overload = false;
 			pf_pattern_matching = false;
 			pf_can_skip_non_nullable_argument = true;
-			pf_reserved_type_paths = [([],"Object")];
+			pf_reserved_type_paths = [([],"Object");([],"Error")];
 		}
 	| Neko ->
 		{