summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/sigof01
diff options
context:
space:
mode:
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>2015-09-17 16:02:06 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-09-17 16:02:18 +0200
commit43eb1dc52a4d3cbba9617f5a26177b8251d84b6a (patch)
treeaa07eb3e0b02d76b6e28035ab19f3e7cdb775a78 /testsuite/tests/driver/sigof01
parent8d89d80d907a7df1d455e87a382b41dc65c42140 (diff)
downloadhaskell-43eb1dc52a4d3cbba9617f5a26177b8251d84b6a.tar.gz
Show minimal complete definitions in ghci (#10847)
Show the minimal complete definition on :info in ghci. They are shown like MINIMAL pragmas in code. If the minimal complete definition is empty or only a specific method from a class is requested, nothing is shown. Reviewed By: simonpj, austin, thomie Differential Revision: https://phabricator.haskell.org/D1241
Diffstat (limited to 'testsuite/tests/driver/sigof01')
-rw-r--r--testsuite/tests/driver/sigof01/sigof01i2.stdout1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/driver/sigof01/sigof01i2.stdout b/testsuite/tests/driver/sigof01/sigof01i2.stdout
index ac15dcfa1e..1ee81c10d2 100644
--- a/testsuite/tests/driver/sigof01/sigof01i2.stdout
+++ b/testsuite/tests/driver/sigof01/sigof01i2.stdout
@@ -1,5 +1,6 @@
class Foo a where
foo :: a -> a
+ {-# MINIMAL foo #-}
data T = A.T
mkT :: T
x :: Bool