summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail13.bkp
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-10-10 12:01:14 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2016-10-08 00:20:34 -0700
commit00b530d5402aaa37e4085ecdcae0ae54454736c1 (patch)
tree2d2963db4abdbcba9c12aea13a26e29e718e4778 /testsuite/tests/backpack/should_fail/bkpfail13.bkp
parent887485a45ae55e81b26b6412b6f9dcf6a497f044 (diff)
downloadhaskell-00b530d5402aaa37e4085ecdcae0ae54454736c1.tar.gz
The Backpack patch.
Summary: This patch implements Backpack for GHC. It's a big patch but I've tried quite hard to keep things, by-in-large, self-contained. The user facing specification for Backpack can be found at: https://github.com/ezyang/ghc-proposals/blob/backpack/proposals/0000-backpack.rst A guide to the implementation can be found at: https://github.com/ezyang/ghc-proposals/blob/backpack-impl/proposals/0000-backpack-impl.rst Has a submodule update for Cabal, as well as a submodule update for filepath to handle more strict checking of cabal-version. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, austin, simonmar, bgamari, goldfire Subscribers: thomie, mpickering Differential Revision: https://phabricator.haskell.org/D1482
Diffstat (limited to 'testsuite/tests/backpack/should_fail/bkpfail13.bkp')
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail13.bkp13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_fail/bkpfail13.bkp b/testsuite/tests/backpack/should_fail/bkpfail13.bkp
new file mode 100644
index 0000000000..55d32bd799
--- /dev/null
+++ b/testsuite/tests/backpack/should_fail/bkpfail13.bkp
@@ -0,0 +1,13 @@
+-- Q by a different name
+unit p where
+ signature Q where
+ f :: Int
+ module P where
+unit q where
+ module QMe where
+ f = True
+unit r where
+ dependency p[Q=q:QMe]
+ signature H where
+ module R where
+ import P