Skip to content

Conversation

@hborla
Copy link
Member

@hborla hborla commented Nov 2, 2023

@hborla hborla requested a review from a team as a code owner November 2, 2023 14:38
@hborla
Copy link
Member Author

hborla commented Nov 2, 2023

@swift-ci please test

@hborla
Copy link
Member Author

hborla commented Nov 2, 2023

@swift-ci please test

@hborla
Copy link
Member Author

hborla commented Nov 6, 2023

@swift-ci please test


// Static 'let's are initialized upon first access, so they cannot be
// synchronously accessed across actors.
if (var->isGlobalStorage() && var->isLazilyInitializedGlobal())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this rule prohibits reasonable code from working and would like to discuss it further before merging.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hborla has clarified that I misread the code, and this is already appropriate narrow in applicability.


// Static 'let's are initialized upon first access, so they cannot be
// synchronously accessed across actors.
if (var->isGlobalStorage() && var->isLazilyInitializedGlobal())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hborla has clarified that I misread the code, and this is already appropriate narrow in applicability.

@hborla
Copy link
Member Author

hborla commented Nov 6, 2023

@swift-ci please test Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants