Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dylan Yudaken
GHC
Commits
1fd766ca
Commit
1fd766ca
authored
Jan 08, 2020
by
Simon Peyton Jones
Committed by
Marge Bot
Jan 12, 2020
Browse files
Comments about constraint floating
parent
61916c5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcSimplify.hs
View file @
1fd766ca
...
...
@@ -2544,6 +2544,11 @@ Here (1,2,3) are handled by the "seed_skols" calculation, and
The possible dependence on givens, and evidence bindings, is more
subtle than we'd realised at first. See #14584.
How can (4) arise? Suppose we have (k :: *), (a :: k), and ([G} k ~ *).
Then form an equality like (a ~ Int) we might end up with
[W] co1 :: k ~ *
[W] co2 :: (a |> co1) ~ Int
*********************************************************************************
* *
...
...
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