1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 05:58:34 +03:00

Don't need _ <- pattern

This commit is contained in:
Rick Winfrey 2019-02-05 13:56:55 -08:00
parent 9f2820feaa
commit 8f57b5d08b

View File

@ -85,7 +85,7 @@ parseToAST parseTimeout language Blob{..} = bracket (liftIO TS.ts_parser_new) (l
Just (Succeeded ast) -> Just ast <$ trace ("tree-sitter: parsing succeeded " <> blobPath)
Nothing -> do
trace $ "tree-sitter: parsing timed out " <> blobPath
_ <- liftIO $ TS.ts_parser_set_enabled parser (CBool 0)
liftIO (TS.ts_parser_set_enabled parser (CBool 0))
Nothing <$ liftIO (wait parsing)