From 628aa27ccbb3b04de1df6f0ae4029de94a2494cf Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Mon, 14 May 2018 15:19:09 -0700 Subject: [PATCH 1/2] No tracing b/c it breaks output --- src/Semantic/Task.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Semantic/Task.hs b/src/Semantic/Task.hs index 04542b300..9933bb6ea 100644 --- a/src/Semantic/Task.hs +++ b/src/Semantic/Task.hs @@ -167,13 +167,11 @@ runParser blob@Blob{..} parser = case parser of time "parse.tree_sitter_ast_parse" languageTag $ IO.rethrowing (parseToAST language blob) AssignmentParser parser assignment -> do - trace ("Parsing " <> blobPath) ast <- runParser blob parser `catchError` \ (SomeException err) -> do writeStat (Stat.increment "parse.parse_failures" languageTag) writeLog Error "failed parsing" (("task", "parse") : blobFields) throwError (toException err) options <- ask - trace ("Assigning " <> blobPath) time "parse.assign" languageTag $ case Assignment.assign blobSource assignment ast of Left err -> do From 41f230a46a1620f48986a8e4c3574eb2a37c0b9f Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Tue, 15 May 2018 08:17:48 -0700 Subject: [PATCH 2/2] ++tree-sitter-ruby for infinite loop fix --- vendor/haskell-tree-sitter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/haskell-tree-sitter b/vendor/haskell-tree-sitter index 95316466e..81d266c8d 160000 --- a/vendor/haskell-tree-sitter +++ b/vendor/haskell-tree-sitter @@ -1 +1 @@ -Subproject commit 95316466eb752256acad81c64481d7be9d9ac2a5 +Subproject commit 81d266c8d46609fb6c9e69c610121be6d97612a6