Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
9b456df4
Commit
9b456df4
authored
Jun 27, 2013
by
eir@cis.upenn.edu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stale comments around closed type families.
parent
8c5e7346
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
compiler/typecheck/FamInst.lhs
compiler/typecheck/FamInst.lhs
+1
-1
compiler/types/FamInstEnv.lhs
compiler/types/FamInstEnv.lhs
+1
-2
No files found.
compiler/typecheck/FamInst.lhs
View file @
9b456df4
...
...
@@ -35,7 +35,7 @@ import Maybes
import TcMType
import TcType
import Name
import VarSet
-- RAE
import VarSet
import Control.Monad
import Data.Map (Map)
import qualified Data.Map as Map
...
...
compiler/types/FamInstEnv.lhs
View file @
9b456df4
...
...
@@ -784,8 +784,7 @@ findBranch (CoAxBranch { cab_tvs = tpl_tvs, cab_lhs = tpl_lhs, cab_incomps = inc
Just subst -- matching worked. now, check for apartness.
| all (isSurelyApart
. tcApartTys instanceBindFun target_tys
. coAxBranchLHS) $ -- RAE: This is horribly inefficient
incomps
. coAxBranchLHS) incomps
-> -- matching worked & we're apart from all incompatible branches. success
Just (ind, substTyVars subst tpl_tvs)
...
...
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