lean4-htt/tests/lean/ff_byte.lean
Gabriel Ebner b1e417805e fix(frontends/lean/scanner): do not treat 0xFF as end-of-file
Fixes #1624.  We just replace 0xFF by 0x00 when reading a new input
byte.  This shows up as an unexpected token error.
2017-05-31 16:54:04 +02:00

6 lines
172 B
Text

ÿ --<-- should report invalid utf-8 here
def -- TODO(gabriel): let the parser recover
example : false := trivial
-- ^^ and complain about the wrong proof