diff --git a/src/Language/Python/Syntax.hs b/src/Language/Python/Syntax.hs index 1310e68c4..ca4f774fa 100644 --- a/src/Language/Python/Syntax.hs +++ b/src/Language/Python/Syntax.hs @@ -473,7 +473,7 @@ ifClause = symbol IfClause *> children expressions conditionalExpression :: Assignment conditionalExpression = makeTerm <$> symbol ConditionalExpression <*> children ( expression >>= \ thenBranch -> - many comment >> expression >>= \ conditional -> + expression >>= \ conditional -> Statement.If conditional thenBranch <$> expressions) term :: Assignment -> Assignment