Remove handling of unnecessary patterns

This commit is contained in:
Jeroen Engels 2021-10-27 17:31:19 +02:00
parent 77390095c4
commit 65146e9850

View File

@ -4623,19 +4623,7 @@ expressionsInDeclaration node =
Declaration.FunctionDeclaration function -> Declaration.FunctionDeclaration function ->
[ functionToExpression function ] [ functionToExpression function ]
Declaration.CustomTypeDeclaration _ -> _ ->
[]
Declaration.AliasDeclaration _ ->
[]
Declaration.Destructuring _ expr ->
[ expr ]
Declaration.PortDeclaration _ ->
[]
Declaration.InfixDeclaration _ ->
[] []