SCC analysis for instances as well as types/classes
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail211.stderr
1
2 tcfail211.hs:5:1: error:
3     • Illegal implicit parameter ‘?imp::Int’
4     • In the context: ?imp::Int
5       While checking the super-classes of class ‘D’
6       In the class declaration for ‘D’
7
8 tcfail211.hs:8:10: error:
9     • Illegal implicit parameter ‘?imp::Int’
10     • In the context: ?imp::Int
11       While checking an instance declaration
12       In the instance declaration for ‘D Int’