mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-23 17:53:35 +03:00
Remove handling of unnecessary patterns
This commit is contained in:
parent
77390095c4
commit
65146e9850
@ -4623,19 +4623,7 @@ expressionsInDeclaration node =
|
||||
Declaration.FunctionDeclaration function ->
|
||||
[ functionToExpression function ]
|
||||
|
||||
Declaration.CustomTypeDeclaration _ ->
|
||||
[]
|
||||
|
||||
Declaration.AliasDeclaration _ ->
|
||||
[]
|
||||
|
||||
Declaration.Destructuring _ expr ->
|
||||
[ expr ]
|
||||
|
||||
Declaration.PortDeclaration _ ->
|
||||
[]
|
||||
|
||||
Declaration.InfixDeclaration _ ->
|
||||
_ ->
|
||||
[]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user