[project @ 2000-04-11 11:18:21 by simonmar]
authorsimonmar <unknown>
Tue, 11 Apr 2000 11:20:25 +0000 (11:20 +0000)
committersimonmar <unknown>
Tue, 11 Apr 2000 11:20:25 +0000 (11:20 +0000)
update expected output

ghc/tests/rename/should_compile/rn025.stderr
ghc/tests/rename/should_compile/rn029.stderr [new file with mode: 0644]

index db86800..e69de29 100644 (file)
@@ -1,6 +0,0 @@
-ghc: module version changed to 1; reason: no old .hi file
-__export List delete deleteBy deleteFirstsBy elemIndex elemIndices find findIndex findIndices genericDrop genericIndex genericLength genericReplicate genericSplitAt genericTake group groupBy inits insert insertBy intersect intersectBy intersperse isPrefixOf isSuffixOf mapAccumL mapAccumR maximumBy minimumBy nub nubBy partition sortBy tails transpose unfoldr union unionBy unzzip4 unzzip5 unzzip6 unzzip7 zrzr zzip4 zzip5 zzip6 zzip7 zzipWith4 zzipWith5 zzipWith6 zzipWith7;
-__export PrelBase ZMZN{ZMZN ZC} foldr map zpzp;
-__export PrelList all and any break concat concatMap cycle drop dropWhile elem filter foldl foldl1 foldr1 head init iterate last length lookup maximum minimum notElem null or repeat replicate reverse scanl scanl1 scanr scanr1 span splitAt tail take takeWhile unzzip unzzip3 znzn zzip zzip3 zzipWith zzipWith3;
-__export PrelShow lines unlines unwords words;
-__export Prelude product sum;
diff --git a/ghc/tests/rename/should_compile/rn029.stderr b/ghc/tests/rename/should_compile/rn029.stderr
new file mode 100644 (file)
index 0000000..aeaf9dc
--- /dev/null
@@ -0,0 +1,13 @@
+
+rn029.hs:6:
+    Ambiguous occurrence `sort'
+    It could refer to either `sort', defined at rn029.hs:7
+                         or `List.sort', imported from List at rn029.hs:4
+
+rn029.hs:10:
+    Ambiguous occurrence `reverse'
+    It could refer to either `reverse', defined at rn029.hs:11
+                         or `List.reverse', imported from List at rn029.hs:4
+
+Compilation had errors
+