summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
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 8e5023c8..62a2c9f4 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -427,6 +427,8 @@ nexp_typ4:
{ tlocl (ATyp_constant $1) 1 1 }
| tid
{ tloc (ATyp_id $1) }
+ | Lcurly id Rcurly
+ { tloc (ATyp_id $2) }
| tyvar
{ tloc (ATyp_var $1) }
| Lparen tup_typ Rparen