be093ecf90
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
13 lines
No EOL
208 B
Text
13 lines
No EOL
208 B
Text
Variable x : Int
|
|
|
|
(**
|
|
ty_x = env():check_type(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)
|
|
**) |