diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/T15322a.stderr')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/T15322a.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/T15322a.stderr b/testsuite/tests/indexed-types/should_compile/T15322a.stderr new file mode 100644 index 0000000000..37a9070e27 --- /dev/null +++ b/testsuite/tests/indexed-types/should_compile/T15322a.stderr @@ -0,0 +1,12 @@ + +T15322a.hs:12:7: error: + • Could not deduce (KnownNat (n + 1)) + arising from a use of ‘typeRep’ + from the context: KnownNat n + bound by the type signature for: + f :: forall (n :: GHC.Types.Nat). + KnownNat n => + Proxy n -> TypeRep (n + 1) + at T15322a.hs:11:1-56 + • In the expression: typeRep + In an equation for ‘f’: f _ = typeRep |