summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/NotRelaxedExamples.stderr
blob: 733d90eafc310cff2a63f5b35a76dc1c0193a68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

NotRelaxedExamples.hs:9:15: error:
    • Illegal nested use of type family ‘F1’
        in the arguments of the type-family application ‘F1 (F1 Char)’
      (Use UndecidableInstances to permit this)
    • In the type instance declaration for ‘F1’

NotRelaxedExamples.hs:10:15: error:
    • The type-family application ‘F2 [x]’
        is no smaller than the LHS of the family instance ‘F2 [x]’
      (Use UndecidableInstances to permit this)
    • In the type instance declaration for ‘F2’

NotRelaxedExamples.hs:11:15: error:
    • The type-family application ‘F3 [Char]’
        is no smaller than the LHS of the family instance ‘F3 Bool’
      (Use UndecidableInstances to permit this)
    • In the type instance declaration for ‘F3’