lean4-htt/tests/lean/run/scopedHindingIssue.lean
2022-10-26 07:39:06 -07:00

13 lines
162 B
Text

namespace Foo
def x := 10
scoped macro "~0~" : term => `(0)
#check ~0~
end Foo
open Foo hiding x -- must open scoped notation and attributes too
#check ~0~