lean4-htt/tests/lean/run/impByNameResolution.lean

9 lines
114 B
Text

new_frontend
namespace Foo
def f (x : Nat) : Nat := x + 1
@[implementedBy f] constant g : Nat → Nat
end Foo