mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously it was possible to create an invalid solution where
static members would be referenced in a key path, which is not
currently supported and would only be diagnosed while applying
such solution to AST e.g.
```swift
struct S {
static var foo: Int = 42
}
_ = \S.Type.foo
```
254 KiB
254 KiB