15621610e9
This commit also fixes bugs in the Alias command. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
13 lines
287 B
Text
13 lines
287 B
Text
Variables x y z : Int
|
|
Variable f : Int -> Int -> Int
|
|
|
|
(**
|
|
local t = parse_lean("fun w, f w (f y 0)")
|
|
print(t)
|
|
assert(t:closed())
|
|
local n, d, b = t:fields()
|
|
print(b)
|
|
assert(not b:closed())
|
|
local env = get_environment()
|
|
assert(env:find_object("Int"):get_name() == name("Int"))
|
|
**)
|