lean2/tests/lua/expr1.lua
Leonardo de Moura 25cbc5c154 fix(kernel/expr): remove 'cast_binder_info'
We should put it back when we decide to implement it.
We also fix the bogus comment at src/frontends/lean/parser.cpp.

see issue #667
2015-06-11 18:11:22 -07:00

7 lines
318 B
Lua

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())