lean4-htt/tests/lean/noncomputable_bytecode_issue.lean
Leonardo de Moura 8b0cca57d1 fix(library/noncomputable): fixes #1631
This commit fixes issue #1631. However, it is not a perfect solution.
This commit improves the predicate that checks whether a definition is
noncomputable or not. This predicate was implemented before we had
a code generator.
We should refactor the code and use the code generator to check
whether a definition is noncomputable or not. Otherwise, we will
keep finding mismatches between the predicate at noncomputable.cpp
and what the code generator implements.
2017-05-31 23:16:37 -07:00

8 lines
97 B
Text

constant a : nat
meta def ex : tactic expr :=
return `(a)
open tactic
run_cmd ex >> return ()