Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/75edaf0d00cf275b7780d13a938cd53eff9bd278 >--------------------------------------------------------------- commit 75edaf0d00cf275b7780d13a938cd53eff9bd278 Author: Simon Peyton Jones <[email protected]> Date: Wed Apr 25 13:04:44 2012 +0100 Wibbles to deprecation errors >--------------------------------------------------------------- tests/parser/should_compile/T3303.stderr | 11 +++++------ tests/rename/should_compile/rn050.stderr | 18 ++++++++++-------- tests/rename/should_compile/rn066.stderr | 18 ++++++++++-------- tests/rename/should_fail/T5281.stderr | 8 ++++---- tests/safeHaskell/unsafeLibs/Dep01.stderr | 7 +++---- tests/safeHaskell/unsafeLibs/Dep02.stderr | 7 +++---- tests/safeHaskell/unsafeLibs/Dep03.stderr | 7 +++---- tests/safeHaskell/unsafeLibs/Dep04.stderr | 8 ++++---- 8 files changed, 42 insertions(+), 42 deletions(-) diff --git a/tests/parser/should_compile/T3303.stderr b/tests/parser/should_compile/T3303.stderr index 6e0b562..c2ae0c6 100644 --- a/tests/parser/should_compile/T3303.stderr +++ b/tests/parser/should_compile/T3303.stderr @@ -1,7 +1,6 @@ -T3303.hs:4:1: - Warning: In the use of `foo' - (imported from T3303A): - Deprecated: "This is a multi-line - deprecation message - for foo" +T3303.hs:7:7: Warning: + In the use of `foo' (imported from T3303A): + Deprecated: "This is a multi-line + deprecation message + for foo" diff --git a/tests/rename/should_compile/rn050.stderr b/tests/rename/should_compile/rn050.stderr index d323205..9eacfc0 100644 --- a/tests/rename/should_compile/rn050.stderr +++ b/tests/rename/should_compile/rn050.stderr @@ -1,10 +1,12 @@ -rn050.hs:7:1: - Warning: In the use of data constructor `C' - (imported from Rn050_A): - Deprecated: "Use D instead" +rn050.hs:10:3: Warning: + In the use of `op' (imported from Rn050_A): + Deprecated: "Use bop instead" -rn050.hs:7:1: - Warning: In the use of `op' - (imported from Rn050_A): - Deprecated: "Use bop instead" +rn050.hs:13:7: Warning: + In the use of `op' (imported from Rn050_A): + Deprecated: "Use bop instead" + +rn050.hs:13:10: Warning: + In the use of data constructor `C' (imported from Rn050_A): + Deprecated: "Use D instead" diff --git a/tests/rename/should_compile/rn066.stderr b/tests/rename/should_compile/rn066.stderr index 6a95f2f..74afb9f 100644 --- a/tests/rename/should_compile/rn066.stderr +++ b/tests/rename/should_compile/rn066.stderr @@ -1,10 +1,12 @@ -rn066.hs:7:1: - Warning: In the use of data constructor `C' - (imported from Rn066_A): - "Are you sure you want to do that?" +rn066.hs:10:3: Warning: + In the use of `op' (imported from Rn066_A): + "Is that really a good idea?" -rn066.hs:7:1: - Warning: In the use of `op' - (imported from Rn066_A): - "Is that really a good idea?" +rn066.hs:13:7: Warning: + In the use of `op' (imported from Rn066_A): + "Is that really a good idea?" + +rn066.hs:13:10: Warning: + In the use of data constructor `C' (imported from Rn066_A): + "Are you sure you want to do that?" diff --git a/tests/rename/should_fail/T5281.stderr b/tests/rename/should_fail/T5281.stderr index 4f757fe..c12f4e7 100644 --- a/tests/rename/should_fail/T5281.stderr +++ b/tests/rename/should_fail/T5281.stderr @@ -1,5 +1,5 @@ -T5281.hs:2:8: - Warning: In the use of `catch' - (imported from Prelude, but defined in System.IO.Error): - Deprecated: "Please use the new exceptions variant, Control.Exception.catch" +T5281.hs:4:5: Warning: + In the use of `catch' + (imported from Prelude, but defined in System.IO.Error): + Deprecated: "Please use the new exceptions variant, Control.Exception.catch" diff --git a/tests/safeHaskell/unsafeLibs/Dep01.stderr b/tests/safeHaskell/unsafeLibs/Dep01.stderr index a21b486..de3016e 100644 --- a/tests/safeHaskell/unsafeLibs/Dep01.stderr +++ b/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/tests/safeHaskell/unsafeLibs/Dep02.stderr b/tests/safeHaskell/unsafeLibs/Dep02.stderr index 8ae7621..531fda0 100644 --- a/tests/safeHaskell/unsafeLibs/Dep02.stderr +++ b/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/tests/safeHaskell/unsafeLibs/Dep03.stderr b/tests/safeHaskell/unsafeLibs/Dep03.stderr index 51c4d0a..719ab52 100644 --- a/tests/safeHaskell/unsafeLibs/Dep03.stderr +++ b/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/tests/safeHaskell/unsafeLibs/Dep04.stderr b/tests/safeHaskell/unsafeLibs/Dep04.stderr index ef81bf4..8a10f22 100644 --- a/tests/safeHaskell/unsafeLibs/Dep04.stderr +++ b/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" _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
