Skip to content

Conversation

adrian-prantl
Copy link

No description provided.

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

llvm::VersionTuple(version / 100, version % 100);
}
if (lang_opts.EffectiveLanguageVersion >= swift::version::Version({6}))
lang_opts.StrictConcurrencyLevel = swift::StrictConcurrency::Complete;

Choose a reason for hiding this comment

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

does the compiler not do this when the version is set to >=6? If lldb is doing this, but the compiler isn't, is that going to cause some issues in some cases?

Choose a reason for hiding this comment

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

also, I'm confused by the title. The diff appears to affect StrictConcurrencyLevel, and the language version already appears supported.

Copy link
Author

Choose a reason for hiding this comment

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

Both excellent questions. I asked, and the compiler sets this flag in an ad-hoc fashion that isn't readily available to reuse. This also seems to be the only flag that behaves this way.

The title is wrong. This just adds a test.

@adrian-prantl
Copy link
Author

@swift-ci test linux

@adrian-prantl
Copy link
Author

test with swiftlang/swift#73757
@swift-ci test linux

@adrian-prantl adrian-prantl merged commit 73587af into swiftlang:swift/release/6.0 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants