mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If class property with the same name has been found on both subclass and superclass, let's always prefer subclass with all else equal, because subclass property could only be found if requested directly. Resolves: rdar://problem/32973206
6 lines
95 B
Swift
6 lines
95 B
Swift
import rdar32973206_a
|
|
|
|
public extension B {
|
|
public class var foo: Int { get { return 0 } }
|
|
}
|