Files
swift-mirror/test/expr/delayed-ident/specialize.swift
Rintaro Ishizaki bee4cfe3e5 [PreCheckTarget] Consider UnresolvedSpecializeExpr a chain expression
Optional chain and unresolved member chain should consider
a generic specialization as a chain expression.

rdar://140378864
2024-11-22 12:08:19 -08:00

14 lines
192 B
Swift

// RUN: %target-typecheck-verify-swift
struct Outer {
struct Inner {
struct Foo<T> {
static func id(_ v: T) -> T { v }
}
}
}
let _: Outer = .Inner.Foo<Outer>.id(.init())