lean4-htt/tests/lean/run/noncomputable_bug.lean
Leonardo de Moura 008b7b2ac2 fix(library/noncomputable): bug at is_noncomputable
In Lean4, the check should be based on the compiler.
That is, a definition should be marked as noncomputable when we cannot
generate code for it.
2018-04-16 14:26:37 -07:00

4 lines
99 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

constant f : Π A : Type, A → Type
def ex5b (α : Type) (a : α) : Π A : Type, A → Type :=
f