- in module
ElmSyntaxParserLenient
- much, much faster for use outside of elm-optimize-level-2, following stil4m/elm-syntax#268
- in module
ElmSyntaxParserLenient
- adds an -
_
suffix to names that collide with keywords - corrects case pattern-result separator
.
or none to->
- adds an -
- in module
ElmSyntaxPrint
- fix bug where pattern tuple and triple gets printed as multi-line too eagerly
- fix bug where lambda multi-line result didn't get printed on the next line
- in module
ElmSyntaxParserLenient
- actually corrects
(...)
in all places - fix bug where
a |> b case ...
was being parsed asa |> (case b of ...)
instead ofcase a |> b of ...
- actually corrects
- in module
ElmSyntaxPrint
- faster
- in module
ElmSyntaxParserLenient
- fix bug where multi-line expressions after an infix operator were sometimes indented to little
- merges consecutive
->
in function type - allow any indentation with
)
,]
,}
,,
,->
,=
,|
,:
,::
,in
,of
,as
,then
,else
,exposing
,where
,..
, infix operators, list elements, record field names, record field values, exposing elements,(
after exposing, on True, on False, result after case->
, betweencase
andof
, parameters before=
/=
, type after->
, pattern after::
, name after patternas
, module name after start of module header, module name afterimport
,module
afterport
, type after:
, in parens, type after type alias declaration=
, type declaration name, type alias declaration name, variant name, let first declaration, let result afterin
, variant pattern arguments, lambda result, expression after value/function declaration=
, tuple part after,
, expression after infix operator - faster
- in module
ElmSyntaxPrint
- correct character in """ string literal that spans multiple UTF-16 codes
- in module
ElmSyntaxPrint
- correct triple double quoted string literal escaping behavior
- faster
- in module
ElmSyntaxParserLenient
- now merges consecutive
|
s in choice type declaration - now after import removes empty
exposing ()
- now merges consecutive
- in module
ElmSyntaxPrint
- correctly collapse comments in pattern list, in records, type record extensions, record update
- correct patterns parenthesized multiple times sometimes not unwrapped fully
- correct linebreak count in module without imports and module documentation and comments
- faster
- in module
ElmSyntaxParserLenient
- corrects
port module
tomodule
if no ports exist and the other way round - corrects infix operator symbol
===
→==
- corrects infix operator symbol
!==
→/=
- corrects infix operator symbol
**
→^
- corrects lambda
=>
or.
to->
- corrects
- in module
ElmSyntaxParserLenient
- removes extra commas in explicit exposing (thanks @jfmengels for suggesting!)
- corrects exposing
(...)
→(..)
- moves import statements anywhere at the top level to the import section (thanks @jfmengels for suggesting!)
- in module
ElmSyntaxPrint
- faster
- add module
ElmSyntaxParserLenient
- fix linebreak count for modules with documentation comment but without imports
- fix type function
a -> (b -> c) -> d
being printed without the parens - fix type construct
A a
being printed in one line even though an argument is not on the same line