1
1
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:
Patrick Thomson 2019-09-17 11:36:50 -04:00
parent 05319f0b78
commit 9d22506544

View File

@ -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