summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
authorBrian Campbell2017-08-21 14:09:59 +0100
committerBrian Campbell2017-08-21 14:09:59 +0100
commit79388061a9fb34789821fe719ce3ff25f93a047d (patch)
tree01fcc120ecafe77212d66b8abbc8ded8593f7430 /src/parser.mly
parentbbdb011b8364ceaed867abb9d6b580ba8b2a60e8 (diff)
parentc310ad77dee2bec75c272556e4ec843f5d9f2715 (diff)
Merge branch 'experiments' into mono-experiments
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.mly b/src/parser.mly
index 12e64141..10241137 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -501,6 +501,8 @@ atomic_pat:
{ ploc (P_typ($2,$4)) }
| id
{ ploc (P_app($1,[])) }
+ | tyvar
+ { ploc (P_var $1) }
| Lcurly fpats Rcurly
{ ploc (P_record((fst $2, snd $2))) }
| Lsquare comma_pats Rsquare