diff --git a/src/Language/Python/Syntax.hs b/src/Language/Python/Syntax.hs index bf25ba52d..1eb8deef8 100644 --- a/src/Language/Python/Syntax.hs +++ b/src/Language/Python/Syntax.hs @@ -383,7 +383,7 @@ import' = makeTerm <$> symbol ImportStatement <*> children (Declaration.Import <|> makeTerm <$> symbol WildcardImport <*> (Syntax.Identifier <$> source) assertStatement :: Assignment -assertStatement = makeTerm <$ symbol AssertStatement <*> location <*> children (Expression.Call <$> (makeTerm <$> symbol AnonAssert <*> (Syntax.Identifier <$> source)) <*> many expression <*> emptyTerm) +assertStatement = makeTerm <$> symbol AssertStatement <*> children (Expression.Call <$> (makeTerm <$> symbol AnonAssert <*> (Syntax.Identifier <$> source)) <*> many expression <*> emptyTerm) printStatement :: Assignment printStatement = do