summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T9178.stderr
diff options
context:
space:
mode:
authorDavid Terei <code@davidterei.com>2015-05-12 14:15:20 -0700
committerDavid Terei <code@davidterei.com>2015-05-12 14:15:20 -0700
commit44328639fb9044049be27fdb02a79f0e381c592c (patch)
tree982448704052f280488a184c7b5e8b515a05ade1 /testsuite/tests/warnings/should_compile/T9178.stderr
parent1b4769200797655e527089a644b77536375c4536 (diff)
downloadhaskell-44328639fb9044049be27fdb02a79f0e381c592c.tar.gz
Update some tests for recent Safe Haskell change.
Diffstat (limited to 'testsuite/tests/warnings/should_compile/T9178.stderr')
-rw-r--r--testsuite/tests/warnings/should_compile/T9178.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/warnings/should_compile/T9178.stderr b/testsuite/tests/warnings/should_compile/T9178.stderr
index 6f4b6c0295..c1e99bc516 100644
--- a/testsuite/tests/warnings/should_compile/T9178.stderr
+++ b/testsuite/tests/warnings/should_compile/T9178.stderr
@@ -1,8 +1,8 @@
[1 of 2] Compiling T9178DataType ( T9178DataType.hs, T9178DataType.o )
[2 of 2] Compiling T9178 ( T9178.hs, T9178.o )
-T9178.hs:8:10: Warning:
- Orphan instance: instance Show T9178_Type
+T9178.hs:8:10: warning:
+ Orphan instance: instance [safe] Show T9178_Type
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.