summaryrefslogtreecommitdiff
path: root/src/compiler/GF
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-05-05 14:06:20 +0000
committerhallgren <hallgren@chalmers.se>2015-05-05 14:06:20 +0000
commitc1265db3a71e7c2708c56a7748eea5490c11cd2c (patch)
tree48e40381620c6a6701687786fb7f40b2ea458b3d /src/compiler/GF
parentb0e8a49b9aa0764a83bfe88afc55fd29eb915f9e (diff)
GF.Haskell: small pretty printing improvement
Diffstat (limited to 'src/compiler/GF')
-rw-r--r--src/compiler/GF/Haskell.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Haskell.hs b/src/compiler/GF/Haskell.hs
index 55613c95c..e2156ac5d 100644
--- a/src/compiler/GF/Haskell.hs
+++ b/src/compiler/GF/Haskell.hs
@@ -142,5 +142,5 @@ instance PPA Pat where
VarP x -> pp x
Lit s -> pp s
ConP c [] -> pp c
- AsP x p -> x<>"@"<>parens p
+ AsP x p -> x<>"@"<>ppA p
_ -> parens p