summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout')
-rw-r--r--testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout b/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
index 08406f9387..c912c3c4ee 100644
--- a/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
+++ b/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
@@ -3,18 +3,18 @@ GHCiDRF.foo :: T -> Int
<interactive>:1:1: error:
Ambiguous occurrence ‘GHCiDRF.bar’
It could refer to
- either the field ‘bar’ of record ‘U’, defined at GHCiDRF.hs:4:16
- or the field ‘bar’ of record ‘T’, defined at GHCiDRF.hs:3:28
+ either the field ‘bar’ of record ‘T’, defined at GHCiDRF.hs:3:28
+ or the field ‘bar’ of record ‘U’, defined at GHCiDRF.hs:4:16
type T :: *
data T = MkT {foo :: Int, ...}
-- Defined at GHCiDRF.hs:3:16
-type U :: *
-data U = MkU {GHCiDRF.bar :: Bool}
- -- Defined at GHCiDRF.hs:4:16
-
type T :: *
-data T = MkT {..., GHCiDRF.bar :: Int}
+data T = MkT {..., bar :: Int}
-- Defined at GHCiDRF.hs:3:28
+
+type U :: *
+data U = MkU {bar :: Bool}
+ -- Defined at GHCiDRF.hs:4:16
GHCiDRF.foo :: GHCiDRF.T -> Int
<interactive>:1:1: error: