aboutsummaryrefslogtreecommitdiff
path: root/parsing/g_constr.ml4
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/g_constr.ml4')
-rw-r--r--parsing/g_constr.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4
index 9bf00b0b1b..33e7236f58 100644
--- a/parsing/g_constr.ml4
+++ b/parsing/g_constr.ml4
@@ -486,7 +486,7 @@ GEXTEND Gram
| _, CPatCast (p, ty) -> (p, Some ty)
| _ -> (p, None)
in
- [CLocalPattern (!@loc, p, ty)]
+ [CLocalPattern (Loc.tag ~loc:!@loc (p, ty))]
] ]
;
typeclass_constraint: