diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2017-02-10 23:15:30 -0800 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2017-02-12 19:14:52 -0800 |
commit | 7666a9febae0a578aedabc49bcdc87d487b0e252 (patch) | |
tree | cc9db4b47adbd8613cb6d894a678037c2e4fa113 /testsuite/tests/backpack/should_compile | |
parent | 2f164846884610cf78f02771711cd5613839b952 (diff) | |
download | haskell-7666a9febae0a578aedabc49bcdc87d487b0e252.tar.gz |
Disable PVP warnings temporarily.
While the intent is good, they are actually too aggressive:
if a module reexports an identifier from a signature, we will
warn (even though we should not!) We'll have to implement
this differently.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'testsuite/tests/backpack/should_compile')
4 files changed, 0 insertions, 20 deletions
diff --git a/testsuite/tests/backpack/should_compile/bkp10.stderr b/testsuite/tests/backpack/should_compile/bkp10.stderr index 13c33f363f..350670e6d4 100644 --- a/testsuite/tests/backpack/should_compile/bkp10.stderr +++ b/testsuite/tests/backpack/should_compile/bkp10.stderr @@ -4,7 +4,3 @@ [2 of 2] Processing q [1 of 2] Compiling H2[sig] ( q/H2.hsig, nothing ) [2 of 2] Compiling B ( q/B.hs, nothing ) - -bkp10.bkp:13:18: warning: [-Wdeprecations (in -Wdefault)] - In the use of type constructor or class ‘S’ (imported from H2): - "Inherited requirements from non-signature libraries (libraries with modules) should not be used, as this mode of use is not compatible with PVP-style version bounds. Instead, copy the declaration to the local hsig file or move the signature to a library of its own and add that library as a dependency." diff --git a/testsuite/tests/backpack/should_compile/bkp11.stderr b/testsuite/tests/backpack/should_compile/bkp11.stderr index ca45b493d3..a804563b2d 100644 --- a/testsuite/tests/backpack/should_compile/bkp11.stderr +++ b/testsuite/tests/backpack/should_compile/bkp11.stderr @@ -5,11 +5,3 @@ [2 of 2] Processing q [1 of 2] Compiling H[sig] ( q/H.hsig, nothing ) [2 of 2] Compiling B ( q/B.hs, nothing ) - -bkp11.bkp:16:14: warning: [-Wdeprecations (in -Wdefault)] - In the use of type constructor or class ‘S’ (imported from H): - "Inherited requirements from non-signature libraries (libraries with modules) should not be used, as this mode of use is not compatible with PVP-style version bounds. Instead, copy the declaration to the local hsig file or move the signature to a library of its own and add that library as a dependency." - -bkp11.bkp:16:19: warning: [-Wdeprecations (in -Wdefault)] - In the use of type constructor or class ‘T’ (imported from H): - "Inherited requirements from non-signature libraries (libraries with modules) should not be used, as this mode of use is not compatible with PVP-style version bounds. Instead, copy the declaration to the local hsig file or move the signature to a library of its own and add that library as a dependency." diff --git a/testsuite/tests/backpack/should_compile/bkp24.stderr b/testsuite/tests/backpack/should_compile/bkp24.stderr index fbde703f49..ddafe4150b 100644 --- a/testsuite/tests/backpack/should_compile/bkp24.stderr +++ b/testsuite/tests/backpack/should_compile/bkp24.stderr @@ -11,10 +11,6 @@ [4 of 5] Processing q [1 of 2] Compiling B[sig] ( q/B.hsig, nothing ) [2 of 2] Compiling Q ( q/Q.hs, nothing ) - -bkp24.bkp:23:24: warning: [-Wdeprecations (in -Wdefault)] - In the use of type constructor or class ‘B’ (imported from B): - "Inherited requirements from non-signature libraries (libraries with modules) should not be used, as this mode of use is not compatible with PVP-style version bounds. Instead, copy the declaration to the local hsig file or move the signature to a library of its own and add that library as a dependency." [5 of 5] Processing r Instantiating r [1 of 2] Including q[B=b:B] diff --git a/testsuite/tests/backpack/should_compile/bkp36.stderr b/testsuite/tests/backpack/should_compile/bkp36.stderr index c891ab476b..45ade1412f 100644 --- a/testsuite/tests/backpack/should_compile/bkp36.stderr +++ b/testsuite/tests/backpack/should_compile/bkp36.stderr @@ -7,7 +7,3 @@ [3 of 3] Processing q [1 of 2] Compiling B[sig] ( q/B.hsig, nothing ) [2 of 2] Compiling Q ( q/Q.hs, nothing ) - -bkp36.bkp:20:16: warning: [-Wdeprecations (in -Wdefault)] - In the use of type constructor or class ‘T’ (imported from B): - "Inherited requirements from non-signature libraries (libraries with modules) should not be used, as this mode of use is not compatible with PVP-style version bounds. Instead, copy the declaration to the local hsig file or move the signature to a library of its own and add that library as a dependency." |