We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c66db commit 07c9976Copy full SHA for 07c9976
hphp/hack/src/typing/typing.ml
@@ -1024,10 +1024,8 @@ and anon_bind_param params env (param_name, ty as pname_ty) =
1024
match !params with
1025
| [] ->
1026
(* This code cannot be executed normally, because the arity is wrong
1027
- * and it should have been caught earlier. But in silent-mode, we
1028
- * tolerate it, we bind as many parameters as we can and carry on.
1029
- *)
1030
- assert !is_silent_mode;
+ * and it will error later. Bind as many parameters as we can and carry
+ * on. *)
1031
env
1032
| param :: paraml ->
1033
params := paraml;
0 commit comments