mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Remove Redundant Calls to VarDecl::setIntroducer
This commit is contained in:
@@ -73,8 +73,6 @@ static VarDecl *addImplicitDistributedActorIDProperty(
|
||||
C, StaticSpellingKind::None, propPat, /*InitExpr*/ nullptr,
|
||||
nominal);
|
||||
|
||||
propDecl->setIntroducer(VarDecl::Introducer::Let);
|
||||
|
||||
// mark as nonisolated, allowing access to it from everywhere
|
||||
propDecl->getAttrs().add(
|
||||
new (C) NonisolatedAttr(/*IsImplicit=*/true));
|
||||
|
||||
Reference in New Issue
Block a user