mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Cope with stored properties that haven't been validated yet
This commit is contained in:
@@ -1272,6 +1272,9 @@ SynthesizeAccessorRequest::evaluate(Evaluator &evaluator,
|
||||
AccessorKind kind) const {
|
||||
auto &ctx = storage->getASTContext();
|
||||
|
||||
if (!storage->hasInterfaceType())
|
||||
ctx.getLazyResolver()->resolveDeclSignature(storage);
|
||||
|
||||
switch (kind) {
|
||||
case AccessorKind::Get:
|
||||
return createGetterPrototype(storage, ctx);
|
||||
|
||||
Reference in New Issue
Block a user