Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
396
Merge Requests
396
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
1bc80144
Commit
1bc80144
authored
Feb 17, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wibble to sub-kinding
parent
16e7a032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compiler/typecheck/TcInteract.lhs
compiler/typecheck/TcInteract.lhs
+1
-1
compiler/typecheck/TcSMonad.lhs
compiler/typecheck/TcSMonad.lhs
+1
-1
No files found.
compiler/typecheck/TcInteract.lhs
View file @
1bc80144
...
...
@@ -534,7 +534,7 @@ trySpontaneousEqTwoWay :: SubGoalDepth
-- Both tyvars are *touchable* MetaTyvars so there is only a chance for kind error here
trySpontaneousEqTwoWay d eqv gw tv1 tv2
= do { let k1_sub_k2 = k1 `
i
sSubKind` k2
= do { let k1_sub_k2 = k1 `
tcI
sSubKind` k2
; if k1_sub_k2 && nicer_to_update_tv2
then solveWithIdentity d eqv gw tv2 (mkTyVarTy tv1)
else solveWithIdentity d eqv gw tv1 (mkTyVarTy tv2) }
...
...
compiler/typecheck/TcSMonad.lhs
View file @
1bc80144
...
...
@@ -142,7 +142,7 @@ import TrieMap
\begin{code}
compatKind :: Kind -> Kind -> Bool
compatKind k1 k2 = k1 `
isSubKind` k2 || k2 `i
sSubKind` k1
compatKind k1 k2 = k1 `
tcIsSubKind` k2 || k2 `tcI
sSubKind` k1
mkKindErrorCtxtTcS :: Type -> Kind
-> Type -> Kind
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment