lean4-htt/tests/compiler/print_error.lean
2020-05-04 11:11:11 +02:00

5 lines
125 B
Text

prelude
import Init.System.IO
def main : IO Unit :=
throw $ IO.Error.noFileOrDirectory "file.ext" 13 "this is some context"