Using the bare name of a generic type within itself

Here comes qualified lookup for rescue, no? :thinking:

struct Outer<Element> {
  struct Inner<Element> {
    func testElementTypes() -> Bool {
      return Element is Outer.Element // qualified lookup (not possible yet)
    } 
  }
}
2 Likes