Use correct version for error message
Error.deleted_in would use the current version rather than the deleted version for the error message Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
5683909fc3
commit
2b72c80fbc
|
@ -185,7 +185,7 @@ module Map = struct
|
||||||
Some v
|
Some v
|
||||||
else
|
else
|
||||||
Syntax.Error.deleted_in (String_with_vars.Var.loc pform)
|
Syntax.Error.deleted_in (String_with_vars.Var.loc pform)
|
||||||
Stanza.syntax syntax_version ~what:(describe pform) ?repl
|
Stanza.syntax in_version ~what:(describe pform) ?repl
|
||||||
|
|
||||||
let expand t pform syntax_version =
|
let expand t pform syntax_version =
|
||||||
match String_with_vars.Var.payload pform with
|
match String_with_vars.Var.payload pform with
|
||||||
|
|
Loading…
Reference in New Issue