Skip to content

Merge remote-tracking branch 'upstream/main' into wasm32-wasi-test #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Mar 31, 2024

Conversation

kkebo
Copy link
Owner

@kkebo kkebo commented Mar 31, 2024

No description provided.

KarolinaGroszewska and others added 23 commits March 22, 2024 19:00
…cies-var

[Package.swift] Remove obsoleted useLocalDependencies variable
Add in documentation for AttributeNodes
…-attribute

Improved diagnostics for misplaced AttributeList in variable declaration
…ed version and deprecate a typealias

This allows us to still use the underscored version internally (eg. when matching the syntax node kind during the creation of a `SyntaxEnum` and keep swift-syntax building without warnings.
…-swiftsyntax

Make swift-syntax build without warnings
In most other parts of the code base we only use the SPI attribute for Swift ≥5.8 compilers. If we unconditionally mark a keywords as SPI we run into issues if a syntax node (which is only experimental in Swift 5.8+) uses that keyword as a default value in its initializers. The concrete case here is the usage of `.dependsOn`.
We were relying on the `nonisolated(unsafe)` annotation of `Info.info` to make `Sendable` checking pass. But that feature is only available in Swift 6.0. To be able to build swift-syntax without warnings using Swift <6.0, we need to use `@unchecked Sendable` here.
…diags

Fix two diagnostics when building swift-syntax using pre Swift-6 compilers
To make it clear on how others can contribute to the project there's
now a dedicated section on how to raise a PR including a link to GitHub's
documentation on forking repos
…buting-fork-info

Updated CONTRIBUTING.md with fork/PR submission info
@kkebo kkebo self-assigned this Mar 31, 2024
@kkebo kkebo changed the title merge upstream main Merge remote-tracking branch 'upstream/main' into wasm32-wasi-test Mar 31, 2024
@kkebo kkebo merged commit 3d8438d into wasm32-wasi-test Mar 31, 2024
@kkebo kkebo deleted the merge-upstream-main branch March 31, 2024 11:57
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.

8 participants