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
9 lines
67 B
Swift
9 lines
67 B
Swift
public class A {
|
|
}
|
|
|
|
public class B : A {
|
|
}
|
|
|
|
public class C : B {
|
|
}
|