diff --git a/src/Language/Python/Syntax.hs b/src/Language/Python/Syntax.hs index 9ab8cb5c9..f365bdecd 100644 --- a/src/Language/Python/Syntax.hs +++ b/src/Language/Python/Syntax.hs @@ -207,8 +207,6 @@ parenthesizedExpression = symbol ParenthesizedExpression *> children expressions parameter :: Assignment parameter = makeTerm <$> symbol DefaultParameter <*> children (Statement.Assignment <$> expression <*> expression) - <|> makeTerm <$> symbol ListSplatParameter <*> (Syntax.Identifier <$> source) - <|> makeTerm <$> symbol DictionarySplatParameter <*> (Syntax.Identifier <$> source) <|> makeTerm <$> symbol TypedParameter <*> children (Type.Annotation <$> expression <*> type') <|> makeAnnotation <$> symbol TypedDefaultParameter <*> children ((,,) <$> expression <*> expression <*> expression) where