summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/BadTelescope.stderr
blob: 2fbc35a9baf0b5637ebc538aa6e8f1163620acd1 (plain)
1
2
3
4
5
6
7
8
9

BadTelescope.hs:9:1: error:
    • These kind and type variables: (a :: k)
                                     k
                                     (b :: k)
                                     (c :: SameKind a b)
      are out of dependency order. Perhaps try this ordering:
        k (a :: k) (b :: k) (c :: SameKind a b)
    • In the data type declaration for ‘X’