chore: test unexpanders inside namespaces

This commit is contained in:
Daniel Selsam 2021-07-30 13:46:27 -07:00 committed by Sebastian Ullrich
parent db4d33487a
commit e0897ae78c
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,11 @@
namespace Foo
abbrev List (α : Type u) : Type := Unit
def List.nil {α : Type u} : List α := ()
def List.cons {α : Type u} (x : α) (xs : List α) : List α := ()
#check @List.nil Unit
#check @_root_.List.nil Unit
end Foo

View file

@ -0,0 +1,2 @@
List.nil : List Unit
[] : _root_.List Unit