mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 13:01:31 +03:00
More wibbles
This commit is contained in:
parent
208119fbbf
commit
aab03be26a
@ -9,6 +9,8 @@
|
||||
{-# LANGUAGE RecordWildCards #-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
|
||||
-- | This is the main driver---it provides entry points for the
|
||||
-- various passes.
|
||||
module Cryptol.ModuleSystem.Base where
|
||||
|
||||
import Cryptol.ModuleSystem.Env (DynamicEnv(..), deIfaceDecls)
|
||||
@ -407,7 +409,8 @@ data TCAction i o = TCAction
|
||||
, tcPrims :: PrimMap
|
||||
}
|
||||
|
||||
typecheck :: (Show i, Show o, HasLoc i) => TCAction i o -> i -> IfaceDecls -> ModuleM o
|
||||
typecheck ::
|
||||
(Show i, Show o, HasLoc i) => TCAction i o -> i -> IfaceDecls -> ModuleM o
|
||||
typecheck act i env = do
|
||||
|
||||
let range = fromMaybe emptyRange (getLoc i)
|
||||
|
Loading…
Reference in New Issue
Block a user