mirror of
https://github.com/apple/swift.git
synced 2026-01-07 22:52:31 +01:00
- Unapplied functions: `if #_hasSymbol(foo(_:))` - Member references: `if #_hasSymbol(a.x)` - `.self` expressions on static metatypes: `if #_hasSymbol(SomeEnum.self)` - Dot syntax call expressions with unapplied functions: `if #_hasSymbol(SomeType.init(_:)` Additionally, we diagnose when the concretely referenced declaration is not weak linked since this likely indicates that the programmer misidentified the declaration they wish to check or the build is not configured in a way such that the check will be meaningful. Resolves rdar://99826340