diff options
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r-- | testsuite/tests/rename/should_compile/T11167_ambig.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T11167_ambig.stderr b/testsuite/tests/rename/should_compile/T11167_ambig.stderr new file mode 100644 index 0000000000..5320b42149 --- /dev/null +++ b/testsuite/tests/rename/should_compile/T11167_ambig.stderr @@ -0,0 +1,11 @@ + +T11167_ambig.hs:10:13: warning: [-Wambiguous-fields (in -Wdefault)] + The field ‘runContT’ belonging to type ContT r m a is ambiguous. + This will not be supported by -XDuplicateRecordFields in future releases of GHC. + You can use explicit case analysis to resolve the ambiguity. + +T11167_ambig.hs:17:9: warning: [-Wambiguous-fields (in -Wdefault)] + The field ‘runContT’ belonging to type forall a. + ContT () IO a is ambiguous. + This will not be supported by -XDuplicateRecordFields in future releases of GHC. + You can use explicit case analysis to resolve the ambiguity. |