mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-27 12:08:51 +03:00
Remove unused custom type constructors
This commit is contained in:
parent
048ade02af
commit
6e5d8193ac
@ -447,16 +447,9 @@ type VariableType
|
||||
| FunctionParameter
|
||||
| LetVariable
|
||||
| PatternVariable
|
||||
| ImportedItem ImportType
|
||||
| Port
|
||||
|
||||
|
||||
type ImportType
|
||||
= ImportedVariable
|
||||
| ImportedType
|
||||
| ImportedOperator
|
||||
|
||||
|
||||
declarationVisitor : Node Declaration -> Rule.Direction -> InnerContext -> InnerContext
|
||||
declarationVisitor declaration direction context =
|
||||
case ( direction, Node.value declaration ) of
|
||||
|
@ -98,8 +98,6 @@ type alias InnerModuleContext =
|
||||
|
||||
type ExposedElement
|
||||
= Function
|
||||
| TypeOrTypeAlias
|
||||
| ExposedType Bool
|
||||
|
||||
|
||||
type alias Scope =
|
||||
@ -742,16 +740,9 @@ type VariableType
|
||||
| FunctionParameter
|
||||
| LetVariable
|
||||
| PatternVariable
|
||||
| ImportedItem ImportType
|
||||
| Port
|
||||
|
||||
|
||||
type ImportType
|
||||
= ImportedVariable
|
||||
| ImportedType
|
||||
| ImportedOperator
|
||||
|
||||
|
||||
declarationVisitor : Node Declaration -> Rule.Direction -> InnerModuleContext -> InnerModuleContext
|
||||
declarationVisitor declaration direction context =
|
||||
case ( direction, Node.value declaration ) of
|
||||
|
Loading…
Reference in New Issue
Block a user