diff options
Diffstat (limited to 'testsuite/tests/dependent/should_fail/T14845_compile.stderr')
-rw-r--r-- | testsuite/tests/dependent/should_fail/T14845_compile.stderr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/dependent/should_fail/T14845_compile.stderr b/testsuite/tests/dependent/should_fail/T14845_compile.stderr new file mode 100644 index 0000000000..cfe062ae38 --- /dev/null +++ b/testsuite/tests/dependent/should_fail/T14845_compile.stderr @@ -0,0 +1,7 @@ + +T14845_compile.hs:15:15: error: [GHC-88634] + • Data constructor ‘MkA1’ cannot be used here + (it has an unpromotable context ‘a ~ Int’) + • In the first argument of ‘SA’, namely ‘MkA1’ + In the type ‘SA MkA1’ + In the definition of data constructor ‘SMkA1’ |