summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_compile/bkp39.bkp
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2017-01-05 01:09:29 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2017-01-11 06:53:58 -0800
commite41c61fa7792d12ac7ffbacda7a5b3ba6ef2a267 (patch)
tree8ba7dec03f3b34ef08e77e7bd3ed6fa012136a8d /testsuite/tests/backpack/should_compile/bkp39.bkp
parent0bbcf76a349ed2c1d03907f2f74e5436859d59b0 (diff)
downloadhaskell-e41c61fa7792d12ac7ffbacda7a5b3ba6ef2a267.tar.gz
Improve Backpack support for fixities.
Summary: Two major bug-fixes: - Check that fixities match between hsig and implementation - Merge and preserve fixities when merging signatures Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: bgamari, simonpj, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2919 GHC Trac Issues: #13066
Diffstat (limited to 'testsuite/tests/backpack/should_compile/bkp39.bkp')
-rw-r--r--testsuite/tests/backpack/should_compile/bkp39.bkp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_compile/bkp39.bkp b/testsuite/tests/backpack/should_compile/bkp39.bkp
index 45f680e94f..bf98b10c96 100644
--- a/testsuite/tests/backpack/should_compile/bkp39.bkp
+++ b/testsuite/tests/backpack/should_compile/bkp39.bkp
@@ -4,6 +4,7 @@ unit p where
import Prelude hiding ((==))
class K a
class K2 a
+ infix 4 ==
(==) :: K a => a -> a -> Bool
module M where
import Prelude hiding ((==))