lean4-htt/tests/compiler/print_error.lean
2021-01-27 14:45:31 +01: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"