590b14570f
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
14 lines
266 B
Text
14 lines
266 B
Text
Variables i j : Int
|
|
Variable p : Bool
|
|
|
|
(**
|
|
local env = get_environment()
|
|
ok, jst = pcall(
|
|
function()
|
|
print(parse_lean("i + p"))
|
|
end)
|
|
assert(not ok)
|
|
assert(is_justification(jst))
|
|
assert(not jst:is_null())
|
|
print(jst:pp{display_children = false})
|
|
**)
|