File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 12
12
13
13
# 11.0.0-beta.3 (Unreleased)
14
14
15
+ #### :rocket : New Feature
16
+ - Untagged variants: consider regexp as an object type. https://github.com/rescript-lang/rescript-compiler/pull/6296
17
+
15
18
# 11.0.0-beta.2
16
19
17
20
#### :rocket : New Feature
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ let type_is_builtin_object (t : Types.type_expr) =
117
117
match t.desc with
118
118
| Tconstr (path , _ , _ ) ->
119
119
let name = Path. name path in
120
- name = " Js.Dict.t" || name = " Js_dict.t"
120
+ name = " Js.Dict.t" || name = " Js_dict.t" || name = " Js.Re.t " || name = " RescriptCore.Re.t "
121
121
| _ -> false
122
122
123
123
let get_block_type ~env (cstr : Types.constructor_declaration ) :
You can’t perform that action at this time.
0 commit comments