You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@
12
12
13
13
# 11.1.0-rc.8 (Unreleased)
14
14
15
+
#### :bug: Bug Fix
16
+
17
+
- Improve error when using '@deriving(accessors)' on a variant with record arguments. https://github.com/rescript-lang/rescript-compiler/pull/6712
[1;31m2[0m [2m│[0m type t = [1;31mStruct({a: int})[0m
7
+
3 [2m│[0m
8
+
9
+
@deriving(accessors) from a variant record argument is unsupported. Either define the record type separately from the variant type or use a positional argument.
0 commit comments