4229e498d2
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
14 lines
No EOL
232 B
Text
14 lines
No EOL
232 B
Text
Variable x : Int
|
|
|
|
(**
|
|
local env = get_environment()
|
|
ty_x = env:type_check(Const("x"))
|
|
c = context()
|
|
c = context(c, "x", ty_x)
|
|
c = context(c, "y", ty_x)
|
|
print(c)
|
|
o = env:find_object("x")
|
|
print(o)
|
|
o = env:find_object("y")
|
|
print(o)
|
|
**) |