summaryrefslogtreecommitdiff
path: root/src/GF/Compile
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-05-22 21:30:34 +0000
committerkrasimir <krasimir@chalmers.se>2009-05-22 21:30:34 +0000
commit7f60804d5ab9d172787b4c6e935ebbd386342246 (patch)
tree019d15c800948e1855fa8c9809c909ea57444b5f /src/GF/Compile
parent7db4b641ce6abe90dd404459cd5eccb6e67f618c (diff)
bugfix to the previous patches
Diffstat (limited to 'src/GF/Compile')
-rw-r--r--src/GF/Compile/Rename.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/GF/Compile/Rename.hs b/src/GF/Compile/Rename.hs
index 8011d2171..87593c0eb 100644
--- a/src/GF/Compile/Rename.hs
+++ b/src/GF/Compile/Rename.hs
@@ -259,7 +259,6 @@ renamePattern env patt = case patt of
PV x -> do case renid (Vr x) of
Ok (QC m c) -> return (PP m c [],[])
- Ok (Q m c) -> Bad $ render (text "data constructor expected but" <+> ppTerm Qualified 0 (Q m c) <+> text "is found instead")
_ -> return (patt, [x])
PR r -> do