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 6369d60 commit 41fa202Copy full SHA for 41fa202
jscomp/ml/ast_untagged_variants.ml
@@ -189,7 +189,7 @@ let get_block_type ~env (cstr : Types.constructor_declaration) :
189
block_type option =
190
match (process_untagged cstr.cd_attributes, cstr.cd_args) with
191
| false, _ -> None
192
- | true, Cstr_tuple [{desc = Tconstr _} as t] when get_block_type_from_typ ~env t |> Option.is_some -> get_block_type_from_typ ~env t
+ | true, Cstr_tuple [t] when get_block_type_from_typ ~env t |> Option.is_some -> get_block_type_from_typ ~env t
193
| true, Cstr_tuple [ty] -> (
194
let default = Some UnknownType in
195
match !extract_concrete_typedecl env ty with
0 commit comments