lean4-htt/tests/lean/no_coe.lean
Leonardo de Moura 9ce9c0331f feat(frontends/lean/elaborator): add option 'elaborator.coercion'
This option is available in Lean 2, but it was accidentally removed
from Lean 3.
2017-03-12 11:27:41 -07:00

5 lines
126 B
Text

#check if tt then 1 else 0
set_option elaborator.coercions false
#check if tt then 1 else 0 -- Error coercions are disabled