Skip to content

Commit

Permalink
Remove unused generateConstraintsWithEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Nov 14, 2023
1 parent d269790 commit b542a73
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-- | This module defines the representation of Subtyping and WF Constraints,
-- and the code for syntax-directed constraint generation.

module Language.Haskell.Liquid.Constraint.Generate ( generateConstraints, generateConstraintsWithEnv, caseEnv, consE ) where
module Language.Haskell.Liquid.Constraint.Generate ( generateConstraints, caseEnv, consE ) where

import Prelude hiding (error)
import GHC.Stack ( CallStack )
Expand Down Expand Up @@ -63,13 +63,6 @@ generateConstraints info = {-# SCC "ConsGen" #-} execState act $ initCGI cfg inf
act = do { γ <- initEnv info; consAct γ cfg info }
cfg = getConfig info

generateConstraintsWithEnv :: TargetInfo -> CGInfo -> CGEnv -> CGInfo
--------------------------------------------------------------------------------
generateConstraintsWithEnv info cgi γ = {-# SCC "ConsGenEnv" #-} execState act cgi
where
act = consAct γ cfg info
cfg = getConfig info

consAct :: CGEnv -> Config -> TargetInfo -> CG ()
consAct γ cfg info = do
let sSpc = gsSig . giSpec $ info
Expand Down

0 comments on commit b542a73

Please sign in to comment.