summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr')
-rw-r--r--testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr
index 45701f2529..ce90de4c72 100644
--- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr
+++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr
@@ -2,18 +2,18 @@
[2 of 3] Compiling SH_Overlap7_A ( SH_Overlap7_A.hs, SH_Overlap7_A.o )
[3 of 3] Compiling SH_Overlap7 ( SH_Overlap7.hs, SH_Overlap7.o )
-SH_Overlap7.hs:1:16: error: [-Wunsafe, -Werror=unsafe]
+SH_Overlap7.hs:2:16: error: [-Wunsafe, -Werror=unsafe]
‘SH_Overlap7’ has been inferred as unsafe!
Reason:
- SH_Overlap7.hs:14:8: warning:
+ SH_Overlap7.hs:15:8: warning:
• Unsafe overlapping instances for C [Int]
arising from a use of ‘f’
The matching instance is:
instance [overlap ok] [safe] C [Int]
- -- Defined at SH_Overlap7_A.hs:12:3
+ -- Defined at SH_Overlap7_A.hs:13:3
It is compiled in a Safe module and as such can only
overlap instances from the same module, however it
overlaps the following instances from different modules:
- instance C [a] -- Defined at SH_Overlap7.hs:10:10
+ instance C [a] -- Defined at SH_Overlap7.hs:11:10
• In the expression: f ([1, 2, 3, 4] :: [Int])
In an equation for ‘test’: test = f ([1, 2, 3, 4] :: [Int])