fix: we cannot export constants

This commit is contained in:
Leonardo de Moura 2020-03-23 11:54:54 -07:00
parent 4296e1d83e
commit 918256ff1f

View file

@ -59,7 +59,7 @@ IO.Error.userError s
namespace IO.Error
@[export lean_mk_io_error_eof]
def mkEofError : IO.Error := unexpectedEof
def mkEofError : Unit → IO.Error := fun _ => unexpectedEof
@[export lean_mk_io_error_inappropriate_type_file]
def mkInappropriateTypeFile : String → UInt32 → String → IO.Error :=