aboutsummaryrefslogtreecommitdiff
path: root/src/HsSyn.lhs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-04-10 16:10:26 +0000
committersimonmar <unknown>2002-04-10 16:10:26 +0000
commitbb8560a1c47490cbe1ed348ce047ecbb9dcc3e19 (patch)
treecceab38cad78d4a4d77d5ecbc74d26a641bfc653 /src/HsSyn.lhs
parent76bd7b3484f8a6353736437f0b7fb0c1cdf199b6 (diff)
[haddock @ 2002-04-10 16:10:26 by simonmar]
Now we understand (or at least don't barf on) type signatures in patterns such as you might find when scoped type variables are in use.
Diffstat (limited to 'src/HsSyn.lhs')
-rw-r--r--src/HsSyn.lhs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HsSyn.lhs b/src/HsSyn.lhs
index c7c0e455..852f9fc1 100644
--- a/src/HsSyn.lhs
+++ b/src/HsSyn.lhs
@@ -1,5 +1,5 @@
% -----------------------------------------------------------------------------
-% $Id: HsSyn.lhs,v 1.1 2002/04/04 16:23:43 simonmar Exp $
+% $Id: HsSyn.lhs,v 1.2 2002/04/10 16:10:26 simonmar Exp $
%
% (c) The GHC Team, 1997-2002
%
@@ -228,6 +228,7 @@ data HsPat
| HsPAsPat HsName HsPat
| HsPWildCard
| HsPIrrPat HsPat
+ | HsPTypeSig HsPat HsType
deriving (Eq,Show)
data HsPatField