mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Error messages are good, actually.
This commit is contained in:
parent
598000c3ab
commit
7da6b959f1
@ -2,10 +2,11 @@ module Language.Python.Core
|
||||
( compileModule
|
||||
) where
|
||||
|
||||
import Control.Applicative
|
||||
import Control.Monad.Fail
|
||||
import Data.Core as Core
|
||||
import Prelude hiding (fail)
|
||||
import TreeSitter.Python.AST as Py
|
||||
|
||||
compileModule :: Alternative m => Py.Module -> m Core
|
||||
compileModule :: MonadFail m => Py.Module -> m Core
|
||||
compileModule (Module Nothing) = pure Unit
|
||||
compileModule (Module (Just _)) = pure Unit
|
||||
|
Loading…
Reference in New Issue
Block a user