summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/unsafeLibs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-04-25 13:04:44 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-04-25 13:04:44 +0100
commit2ceaa8143d2b1b51dd1a02968adec6344c77759d (patch)
tree8935f44a5c5912a5c279586bf56d76f3114dcfdd /testsuite/tests/safeHaskell/unsafeLibs
parent0ad0d560637fdadfef9e818c2433edbe83cfffd8 (diff)
downloadhaskell-2ceaa8143d2b1b51dd1a02968adec6344c77759d.tar.gz
Wibbles to deprecation errors
Diffstat (limited to 'testsuite/tests/safeHaskell/unsafeLibs')
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep01.stderr7
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep02.stderr7
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep03.stderr7
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep04.stderr8
4 files changed, 13 insertions, 16 deletions
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep01.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep01.stderr
index a21b4861dd..de3016e534 100644
--- a/testsuite/tests/safeHaskell/unsafeLibs/Dep01.stderr
+++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep01.stderr
@@ -1,5 +1,4 @@
-Dep01.hs:4:1:
- Warning: In the use of `unsafeSTToIO'
- (imported from Control.Monad.ST):
- Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"
+Dep01.hs:8:12: Warning:
+ In the use of `unsafeSTToIO' (imported from Control.Monad.ST):
+ Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep02.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep02.stderr
index 8ae7621251..531fda011d 100644
--- a/testsuite/tests/safeHaskell/unsafeLibs/Dep02.stderr
+++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep02.stderr
@@ -1,5 +1,4 @@
-Dep02.hs:4:1:
- Warning: In the use of `unsafeIOToST'
- (imported from Control.Monad.ST.Lazy):
- Deprecated: "Please import from Control.Monad.ST.Lazy.Unsafe instead; This will be removed in the next release"
+Dep02.hs:15:17: Warning:
+ In the use of `unsafeIOToST' (imported from Control.Monad.ST.Lazy):
+ Deprecated: "Please import from Control.Monad.ST.Lazy.Unsafe instead; This will be removed in the next release"
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep03.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep03.stderr
index 51c4d0a850..719ab522f0 100644
--- a/testsuite/tests/safeHaskell/unsafeLibs/Dep03.stderr
+++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep03.stderr
@@ -1,5 +1,4 @@
-Dep03.hs:3:1:
- Warning: In the use of `unsafePerformIO'
- (imported from Foreign):
- Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
+Dep03.hs:6:7: Warning:
+ In the use of `unsafePerformIO' (imported from Foreign):
+ Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep04.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep04.stderr
index ef81bf4212..8a10f221ca 100644
--- a/testsuite/tests/safeHaskell/unsafeLibs/Dep04.stderr
+++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep04.stderr
@@ -1,5 +1,5 @@
-Dep04.hs:4:1:
- Warning: In the use of `unsafeForeignPtrToPtr'
- (imported from Foreign.ForeignPtr):
- Deprecated: "Use Foreign.ForeignPtr.Unsafe.unsafeForeignPtrToPtr instead; This function will be removed in the next release"
+Dep04.hs:7:7: Warning:
+ In the use of `unsafeForeignPtrToPtr'
+ (imported from Foreign.ForeignPtr):
+ Deprecated: "Use Foreign.ForeignPtr.Unsafe.unsafeForeignPtrToPtr instead; This function will be removed in the next release"