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
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,12 @@
44
44
#### :boom: Breaking Change
45
45
46
46
-`lazy` syntax is no longer supported. If you're using it, use `Lazy` module or `React.lazy_` instead. https://github.com/rescript-lang/rescript-compiler/pull/6342
47
+
- Remove handling of attributes with `bs.` prefix (`@bs.as` -> `@as` etc.). https://github.com/rescript-lang/rescript-compiler/pull/6643
Copy file name to clipboardExpand all lines: jscomp/core/design.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ Curry.__N o
98
98
]}
99
99
Another use case:
100
100
{[
101
-
external f : ('a -> 'b [@bs.uncurry]) -> unit
101
+
external f : ('a -> 'b [@uncurry]) -> unit
102
102
103
103
f g (* The compiler will do such converison internally*)
104
104
]}
@@ -173,12 +173,12 @@ We can simply do inlining, it may have side efffect in `b0`, `b1`, our optimizer
173
173
174
174
Maybe in the future, we should lift the restriction about `variadic` (delegate to `slow` mode when we can not resolve it statically, my personal expereince is that people will complain about why it fails to compile more than why it is slow in some corner cases)
175
175
176
-
Note this also interacts with `[@bs.uncurry]`
176
+
Note this also interacts with `[@uncurry]`
177
177
178
178
for example
179
179
180
180
```ocaml
181
-
external filter : 'a array -> ('a -> bool [@bs.uncurry]) -> 'a array = "filter"
181
+
external filter : 'a array -> ('a -> bool [@uncurry]) -> 'a array = "filter"
182
182
[@@send]
183
183
184
184
let f xs =
@@ -211,7 +211,7 @@ if (typeof x === "undefined"){
0 commit comments