Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ellie Hermaszewska
head.hackage
Commits
4bc62a23
Commit
4bc62a23
authored
5 years ago
by
Ryan Scott
Browse files
Options
Downloads
Patches
Plain Diff
Update inspection-testing-0.4.2.2 patch
parent
b74271f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/inspection-testing-0.4.2.2.patch
+12
-6
12 additions, 6 deletions
patches/inspection-testing-0.4.2.2.patch
with
12 additions
and
6 deletions
patches/inspection-testing-0.4.2.2.patch
+
12
−
6
View file @
4bc62a23
diff --git a/src/Test/Inspection/Core.hs b/src/Test/Inspection/Core.hs
index f34f301..
fa17959
100644
index f34f301..
eb7e648
100644
--- a/src/Test/Inspection/Core.hs
+++ b/src/Test/Inspection/Core.hs
@@ -12,20 +12,3
1
@@
module Test.Inspection.Core
@@ -12,20 +12,3
5
@@
module Test.Inspection.Core
, doesNotContainTypeClasses
) where
...
...
@@ -15,20 +15,26 @@ index f34f301..fa17959 100644
+import GHC.Core.TyCon (TyCon, isClassTyCon)
+import GHC.Core.Type
+import GHC.Core.Utils
+import GHC.Types.Id
+import GHC.Types.Name
+import GHC.Types.Var as Var
+import GHC.Types.Var.Env
+#else
+import Coercion
import CoreSyn
import CoreUtils
+import DataCon
+import Id
+import Name
+import PprCore
import TyCoRep
+import TyCon (TyCon, isClassTyCon)
import Type
+#endif
import Var
import Id
import Name
-
import Id
-
import Name
import VarEnv
+#endif
import Outputable
-import PprCore
-import Coercion
...
...
@@ -38,7 +44,7 @@ index f34f301..fa17959 100644
import qualified Data.Set as S
import Control.Monad.State.Strict
@@ -231,7 +24
2
,11 @@
allTyCons predicate slice = listToMaybe [ (v,e) | (v,e) <- slice, not (go e) ]
@@ -231,7 +24
6
,11 @@
allTyCons predicate slice = listToMaybe [ (v,e) | (v,e) <- slice, not (go e) ]
-- ↑ This is the crucial bit
goT (ForAllTy _ t) = goT t
#if MIN_VERSION_GLASGOW_HASKELL(8,2,0,0)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment