Skip to content

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

Merged
kkebo merged 23 commits into
wasm32-wasi-testfrom
merge-upstream-main
Mar 31, 2024
Merged

kkebo merged 23 commits into
wasm32-wasi-testfrom
merge-upstream-main

Conversation

@kkebo

@kkebo kkebo commented Mar 31, 2024 •

Copy link
Copy Markdown
Owner

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