diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2017-02-27 11:43:01 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2017-02-27 11:46:52 +0200 |
commit | c0af206f26b97d8d4f1c5722825577b27087c0a9 (patch) | |
tree | 3796ca99b4f608a0d8d7d2d39b80b968337debed /testsuite | |
parent | 76f2cd02ab04818f19be1927c2a640dede3e9dd3 (diff) | |
download | haskell-c0af206f26b97d8d4f1c5722825577b27087c0a9.tar.gz |
Explicitly capture whether a splice has a dollar prefix
A top-level splice can be written
$splice
or
splice
For accurate pretty-printing, and for ghc-exactprint, capture in the hsSyn AST
which variant was parsed.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/printer/Ppr037.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Ppr037.hs b/testsuite/tests/printer/Ppr037.hs index a812643fed..1ece4394f9 100644 --- a/testsuite/tests/printer/Ppr037.hs +++ b/testsuite/tests/printer/Ppr037.hs @@ -62,3 +62,5 @@ class (kparam ~ 'KProxy) => SEq (kparam :: KProxy k) where infix 4 %:/= $(singEqInstances basicTypes) +$singEqInstances basicTypes +singEqInstances basicTypes |