Replace -fshow-source-paths with -fhide-source-paths
[ghc.git] / testsuite / tests / safeHaskell / overlapping / SH_Overlap5.stderr
1 [1 of 3] Compiling SH_Overlap5_B    ( SH_Overlap5_B.hs, SH_Overlap5_B.o )
2 [2 of 3] Compiling SH_Overlap5_A    ( SH_Overlap5_A.hs, SH_Overlap5_A.o )
3 [3 of 3] Compiling SH_Overlap5      ( SH_Overlap5.hs, SH_Overlap5.o )
4
5 SH_Overlap5.hs:15:8: error:
6     Unsafe overlapping instances for C [Int] arising from a use of ‘f’
7     The matching instance is:
8       instance [overlap ok] [safe] C [Int]
9         -- Defined at SH_Overlap5_A.hs:11:3
10     It is compiled in a Safe module and as such can only
11     overlap instances from the same module, however it
12     overlaps the following instances from different modules:
13       instance [safe] C [a] -- Defined at SH_Overlap5.hs:11:3
14     In the expression: f ([1, 2, 3, 4] :: [Int])
15     In an equation for ‘test’: test = f ([1, 2, 3, 4] :: [Int])