lean4-htt/tests/lean/interactive/amb.lean
Leonardo de Moura 3d829c825c fix: Info nodes for overloaded notation/declarations
See new test to understand the problem that has been fixed.
2021-05-04 22:07:21 -07:00

21 lines
288 B
Text

namespace Foo
def f (n : Nat) : Bool :=
n == 0
end Foo
namespace Boo
def f (n : String) : String :=
n ++ n
end Boo
open Foo
open Boo
def g := fun x => (f x : Bool)
--^ textDocument/hover
def h := fun x => (f x : String)
--^ textDocument/hover