lean4-htt/tests/lean/run/impByNameResolution.lean
2022-10-19 09:28:08 -07:00

9 lines
103 B
Text

--
namespace Foo
def f (x : Nat) : Nat := x + 1
@[implemented_by f] opaque g : Nat → Nat
end Foo