lean4-htt/tests/compiler/print_error.lean
2020-10-23 14:07:26 -07:00

6 lines
137 B
Text

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