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
Remove res.namedArgLoc attribute and store the location information directly into the label. (#7247)
* Experiment with storing the location of function named arguments in the AST.
* Store label location in type argument instead of attribute.
* Store the label loc directly in the label, for application for now.
* restore some punning behaviour
Preserve `isMobile={isMobile}` when it's like that in the source, instead of reformatting to `isMobile`.
Do we want that?
* Store location directly in the label on Ptyp_arrow instead of a separate field.
* Store location directly in the label on `Pexp_fun`.
* Put type without locs inside module Noloc.
* Restore original variant names.
* Update CHANGELOG.md
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@
33
33
- AST cleanup: represent concatenation (`++`) and (dis)equality operators (`==`, `===`, `!=`, `!==`) just like in the syntax. https://github.com/rescript-lang/rescript/pull/7248
34
34
- AST cleanup: use inline record for `Ptyp_arrow`. https://github.com/rescript-lang/rescript/pull/7250
35
35
- Playground: Bundle stdlib runtime so that the playground can execute functions from Core/Belt/Js. (#7255)
36
+
- AST cleanup: Remove `res.namedArgLoc` attribute and store the location information directly into the label. https://github.com/rescript-lang/rescript/pull/7247
0 commit comments