aboutsummaryrefslogtreecommitdiff
path: root/kernel/type_errors.mli
diff options
context:
space:
mode:
authorPierre Roux2019-03-24 22:06:44 +0100
committerPierre Roux2019-03-31 23:17:55 +0200
commitef6c99e0e2e55b9fe316cc14663df161ebf4a21e (patch)
tree65bed8734239c26a312deebb76b47cb2fc761f06 /kernel/type_errors.mli
parenteadb00648127c9a535b533d51189dce41ef16db7 (diff)
Improve coqpp error message for SELF in anonymous entry
Something like "("; [ s = SELF -> { s } ]; ")" in a GRAMMAR EXTEND in a mlg file was causing an error message such as OCAMLOPT f.ml File "f.mlg", line 179, characters 55-67: # not in a semantic rule so line doesn't match anything in the mlg file Error: This expression has type ('a, Extend.mayrec, 'a) Extend.symbol but an expression was expected of type ('a, Extend.norec, 'b) Extend.symbol Type Extend.mayrec is not compatible with type Extend.norec It is now COQPP f.mlg Error: 'SELF' or 'NEXT' illegal in anonymous entry level
Diffstat (limited to 'kernel/type_errors.mli')
0 files changed, 0 insertions, 0 deletions