diff options
Diffstat (limited to 'testsuite/tests/backpack/should_compile/T13323.stderr')
-rw-r--r-- | testsuite/tests/backpack/should_compile/T13323.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_compile/T13323.stderr b/testsuite/tests/backpack/should_compile/T13323.stderr index eb49bcbfab..7e637d9dd4 100644 --- a/testsuite/tests/backpack/should_compile/T13323.stderr +++ b/testsuite/tests/backpack/should_compile/T13323.stderr @@ -1,6 +1,11 @@ [1 of 3] Processing p [1 of 2] Compiling A[sig] ( p/A.hsig, nothing ) [2 of 2] Compiling P ( p/P.hs, nothing ) + +T13323.bkp:9:13: warning: [-Wambiguous-fields (in -Wdefault)] + The field ‘foo’ belonging to type A is ambiguous. + This will not be supported by -XDuplicateRecordFields in future releases of GHC. + You can use a qualified import or explicit case analysis to resolve the ambiguity. [2 of 3] Processing q Instantiating q [1 of 1] Compiling A ( q/A.hs, T13323.out/q/A.o ) @@ -10,5 +15,10 @@ Instantiating p[A=q:A] [1 of 2] Compiling A[sig] ( p/A.hsig, T13323.out/p/p-HVmFlcYSefiK5n1aDP1v7x/A.o ) [2 of 2] Compiling P ( p/P.hs, T13323.out/p/p-HVmFlcYSefiK5n1aDP1v7x/P.o ) + +T13323.bkp:9:13: warning: [-Wambiguous-fields (in -Wdefault)] + The field ‘foo’ belonging to type A is ambiguous. + This will not be supported by -XDuplicateRecordFields in future releases of GHC. + You can use a qualified import or explicit case analysis to resolve the ambiguity. [1 of 2] Compiling R ( r/R.hs, T13323.out/r/R.o ) [2 of 2] Instantiating p |