Explorar o código

[js] add Error to reserved type paths

Dan Korostelev %!s(int64=10) %!d(string=hai) anos
pai
achega
6eb173e995
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ->
 		{