lean2/tests/lua/alias2.lua
Leonardo de Moura 864fdd37da refactor(library/aliases): aliases are from name to names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-27 21:01:59 -07:00

8 lines
255 B
Lua

local env = environment()
local env = environment()
local l = mk_param_univ("l")
local u = mk_global_univ("u")
env = add_level_alias(env, "m", "l")
env = add_level_alias(env, "l1", "l")
assert(is_level_aliased(env, "l") == name("l1"))