aboutsummaryrefslogtreecommitdiff
path: root/interp/constrintern.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-10-13 10:55:24 +0200
committerPierre-Marie Pédrot2020-10-13 10:55:24 +0200
commit471da91fbef6656baf616b04a7f41a5440e52a52 (patch)
tree5c8b5eb96d242a8dcd05e3e3be9c123d54c92d0a /interp/constrintern.ml
parent420368af6d3366ebb843b59c1d1d0b6e58e43dad (diff)
parenta6d52d2502c09e8acdca464faf67d3956448cbcf (diff)
Merge PR #13099: Locating pattern identifiers (?id) by default at parsing time and use location in some typing error messages
Reviewed-by: ppedrot
Diffstat (limited to 'interp/constrintern.ml')
-rw-r--r--interp/constrintern.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/constrintern.ml b/interp/constrintern.ml
index 48fb4a4a5d..959b61a3d7 100644
--- a/interp/constrintern.ml
+++ b/interp/constrintern.ml
@@ -2188,7 +2188,7 @@ let internalize globalenv env pattern_mode (_, ntnvars as lvar) c =
GPatVar (Evar_kinds.SecondOrderPatVar n)
| CEvar (n, []) when pattern_mode ->
DAst.make ?loc @@
- GPatVar (Evar_kinds.FirstOrderPatVar n)
+ GPatVar (Evar_kinds.FirstOrderPatVar n.CAst.v)
(* end *)
(* Parsing existential variables *)
| CEvar (n, l) ->