mirror of
https://github.com/github/semantic.git
synced 2024-12-30 18:36:27 +03:00
No more TypeSwitchGuard.
This commit is contained in:
parent
05319f0b78
commit
9d22506544
@ -233,7 +233,6 @@ types =
|
||||
, typeIdentifier
|
||||
, typeCase
|
||||
, typeCaseClause
|
||||
, typeSwitchGuard
|
||||
, typeSwitchStatement
|
||||
]
|
||||
|
||||
@ -506,9 +505,6 @@ typeCaseClause = makeTerm <$> symbol TypeCaseClause <*> children (Statement.Patt
|
||||
typeConversion :: Assignment Term
|
||||
typeConversion = makeTerm <$> symbol TypeConversionExpression <*> children (Go.Syntax.TypeConversion <$> expression <*> expression)
|
||||
|
||||
typeSwitchGuard :: Assignment Term
|
||||
typeSwitchGuard = makeTerm <$> symbol Grammar.TypeSwitchGuard <*> children (Go.Syntax.TypeSwitchGuard <$> expressions)
|
||||
|
||||
typeSwitchStatement :: Assignment Term
|
||||
typeSwitchStatement = makeTerm <$> symbol TypeSwitchStatement <*> children (Go.Syntax.TypeSwitch <$> typeSwitchSubject <*> expressions)
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user