lean2/tests/lua/place2.lua
Leonardo de Moura 2c4175341c feat(library/placeholder): allow types to be attached to placeholders
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-16 14:35:55 -07:00

4 lines
191 B
Lua

print(mk_expr_placeholder())
assert(not placeholder_type(mk_expr_placeholder()))
assert(placeholder_type(mk_expr_placeholder(Bool)) == Bool)
assert(is_placeholder(mk_expr_placeholder(Bool)))