mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Clang importer] Infer get-only properties and static properties.
Expands support for inference of computed properties, whether instance or static, to include get-only. Adds test cases for both inference and manual annotation for static computed properties.
This commit is contained in:
@@ -2743,7 +2743,8 @@ namespace {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
assert(foundAccessor && "Didn't find the original accessor?");
|
||||
assert(foundAccessor && "Didn't find the original accessor? "
|
||||
"Try clearing your module cache");
|
||||
|
||||
// If there is no getter, there's nothing we can do.
|
||||
if (!getter) return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user