lean2/tests/lua/expr1.lua

8 lines
318 B
Lua
Raw Normal View History

assert(not binder_info():is_implicit())
assert(not binder_info(false, false):is_implicit())
assert(binder_info(true):is_implicit())
assert(binder_info(true, true):is_implicit())
assert(binder_info():is_contextual())
assert(not binder_info(true, false):is_contextual())
assert(binder_info(false, true):is_contextual())