lean2/tests/lua/choice2.lua

7 lines
161 B
Lua
Raw Normal View History

local a = Local("a", Prop)
local b = Local("b", Prop)
local c = mk_choice(a, b)
print(c)
local env = environment()
check_error(function() env:infer_type(c) end)