mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
This commit is contained in:
@@ -624,7 +624,7 @@ ManagedValue SILGenFunction::emitRValueForPropertyLoad(
|
||||
(void)baseMeta;
|
||||
assert(!baseMeta->is<BoundGenericType>() &&
|
||||
"generic static stored properties not implemented");
|
||||
if (field->getDeclContext()->isClassOrClassExtensionContext() &&
|
||||
if (field->getDeclContext()->getAsClassOrClassExtensionContext() &&
|
||||
field->hasStorage())
|
||||
// FIXME: don't need to check hasStorage, already done above
|
||||
assert(field->isFinal() && "non-final class stored properties not implemented");
|
||||
|
||||
Reference in New Issue
Block a user