diff options
| -rw-r--r-- | parsing/astterm.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parsing/astterm.ml b/parsing/astterm.ml index ca911ad4a1..ce79725f35 100644 --- a/parsing/astterm.ml +++ b/parsing/astterm.ml @@ -195,8 +195,10 @@ let maybe_constructor env = function | _ -> (match maybe_variable l with | Some s -> +(* Why a warning since there is no warning when writing [globname:T]... warning ("Defined reference "^(string_of_qualid qid) ^" is here considered as a matching variable"); +*) VarPat (loc,s) | _ -> error ("This reference does not denote a constructor: " ^(string_of_qualid qid))) |
