mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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 {
|
AccessorKind kind) const {
|
||||||
auto &ctx = storage->getASTContext();
|
auto &ctx = storage->getASTContext();
|
||||||
|
|
||||||
|
if (!storage->hasInterfaceType())
|
||||||
|
ctx.getLazyResolver()->resolveDeclSignature(storage);
|
||||||
|
|
||||||
switch (kind) {
|
switch (kind) {
|
||||||
case AccessorKind::Get:
|
case AccessorKind::Get:
|
||||||
return createGetterPrototype(storage, ctx);
|
return createGetterPrototype(storage, ctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user