summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail10.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/backpack/should_fail/bkpfail10.stderr')
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail10.stderr24
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_fail/bkpfail10.stderr b/testsuite/tests/backpack/should_fail/bkpfail10.stderr
new file mode 100644
index 0000000000..2c2b2f2a8b
--- /dev/null
+++ b/testsuite/tests/backpack/should_fail/bkpfail10.stderr
@@ -0,0 +1,24 @@
+[1 of 3] Processing p
+ [1 of 1] Compiling H[sig] ( p/H.hsig, nothing )
+[2 of 3] Processing q
+ Instantiating q
+ [1 of 1] Compiling H ( q/H.hs, bkpfail10.out/q/H.o )
+[3 of 3] Processing r
+ Instantiating r
+ [1 of 2] Including p[H=q:H]
+ Instantiating p[H=q:H]
+ [1 of 1] Compiling H[sig] ( p/H.hsig, bkpfail10.out/p/p-D5Mg3foBSCrDbQDKH4WGSG/H.o )
+
+bkpfail10.bkp:8:9: error:
+ Type constructor ‘q:H.H’ has conflicting definitions in the module
+ and its hsig file
+ Main module: data q:H.H a = q:H.H a
+ Hsig file: abstract q:H.H
+ The types have different kinds
+
+bkpfail10.bkp:10:9: error:
+ Identifier ‘q:H.f’ has conflicting definitions in the module
+ and its hsig file
+ Main module: q:H.f :: q:H.H a -> q:H.H a
+ Hsig file: q:H.f :: q:H.H -> q:H.H
+ The two types are different