12.0.0-alpha.8
Pre-release
Pre-release
·
195 commits
to master
since this release
🐛 Bug fix
- Editor: Fix issue where pipe completions would not trigger with generic type arguments. #7231
- Fix leftover
assert false
in code fornull != undefined
. #7232 - Editor: Fix issue where completions would not show up inside of object bodies. #7230
- Fix issue with pattern matching empty list which interferes with boolean optimisations. #7237
- Fix Cannot combine
@react.component
and@directive
. #7260 - Fix issue where attributes on an application were not preserved by the AST conversion for ppx. #7262
🏠 Internal
- AST cleanup: Prepare for ast async cleanup: Refactor code for
@res.async
payload handling and clean up handling of type and term parameters, so that now each=>
in a function definition corresponds to a function. #7223 - AST: always put type parameters first in function definitions. #7233
- AST cleanup: Remove
@res.async
attribute from the internal representation, and add a flag to untyped and typed ASTs instead. #7234 - AST cleanup: Remove unused
expression_desc.Pexp_new
,expression_desc.Pexp_setinstvar
,expression_desc.Pexp_override
,expression_desc.Pexp_poly
,exp_extra.Texp_poly
,expression_desc.Texp_new
,expression_desc.Texp_setinstvar
,expression_desc.Texp_override
&expression_desc.Texp_instvar
from AST. #7239 - AST cleanup: Remove
@res.partial
attribute from the internal representation, and add a flag to untyped and typed ASTs instead. #7238 #7240 - AST cleanup: Remove unused
structure_item_desc.Pstr_class
,signature_item_desc.Psig_class
,structure_item_desc.Pstr_class_type
,signature_item_desc.Psig_class_type
,structure_item_desc.Tstr_class
,structure_item_desc.Tstr_class_type
,signature_item_desc.Tsig_class
,signature_item_desc.Tsig_class_type
from AST. #7242 - AST cleanup: remove
|.
and rename|.
to->
in the internal representation for the pipe operator. #7244 - AST cleanup: represent concatenation (
++
) and (dis)equality operators (==
,===
,!=
,!==
) just like in the syntax. #7248 - AST cleanup: use inline record for
Ptyp_arrow
. #7250 - Playground: Bundle stdlib runtime so that the playground can execute functions from Core/Belt/Js. #7255
- AST cleanup: Remove
res.namedArgLoc
attribute and store the location information directly into the label. #7247