diff --git a/src/Language/TypeScript/Assignment.hs b/src/Language/TypeScript/Assignment.hs index fa608a805..8b157585c 100644 --- a/src/Language/TypeScript/Assignment.hs +++ b/src/Language/TypeScript/Assignment.hs @@ -544,7 +544,7 @@ forInStatement :: Assignment forInStatement = makeTerm <$> symbol ForInStatement <*> children (Statement.ForEach <$> expression <*> expression <*> statement) doStatement :: Assignment -doStatement = makeTerm <$> symbol DoStatement <*> children (flip Statement.DoWhile <$> statementBlock <*> parenthesizedExpression) +doStatement = makeTerm <$> symbol DoStatement <*> children (flip Statement.DoWhile <$> statement <*> parenthesizedExpression) continueStatement :: Assignment continueStatement = makeTerm <$> symbol ContinueStatement <*> children (Statement.Continue <$> ((symbol StatementIdentifier *> identifier) <|> emptyTerm)) diff --git a/vendor/haskell-tree-sitter b/vendor/haskell-tree-sitter index acb433caf..dda3a7595 160000 --- a/vendor/haskell-tree-sitter +++ b/vendor/haskell-tree-sitter @@ -1 +1 @@ -Subproject commit acb433caff6095f98cb3b633b7055bf4ba280453 +Subproject commit dda3a75955d3285e3df5d733089c7af471fa2ee6