2e1a0bd50c
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
12 lines
498 B
Lua
12 lines
498 B
Lua
assert(not binder_info():is_implicit())
|
|
assert(not binder_info():is_cast())
|
|
assert(not binder_info(false, false):is_implicit())
|
|
assert(not binder_info(false, false):is_cast())
|
|
assert(binder_info(true):is_implicit())
|
|
assert(not binder_info(true):is_cast())
|
|
assert(binder_info(true, true):is_implicit())
|
|
assert(binder_info(true, true):is_cast())
|
|
assert(binder_info():is_contextual())
|
|
assert(not binder_info(true, true, false):is_contextual())
|
|
assert(binder_info(false, false, true):is_contextual())
|
|
|