forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 30
[pull] swiftwasm from main #4535
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previously 'actor' keyword was suggested as (deprecated) 'actor' decl modifier, and it was gated by '-enable-experimental-concurrency' compiler argument. Add 'actor' as a type decl introducer. This causes duplicated 'actor' in code completion if '-enable-experimental-concurrency', but that option is basically useless at this point, so I assume not many people is using it. Also 'actor' as a modifier will be removed soon. [swiftlang#58520] rdar://92511769
…captured variable Previously, the related idents request wouldn’t look through caputred variables like `[foo]`. Change the logic to consider the captured variable as well as the variable that’s implicitly declared for use inside the closure. rdar://81628899
…ise init Generating a memberwise init would skip over properties with property wrappers. Switch the implementation of memberwise init generation closer to the one that generates the implicit memberwise init by also using `getMembers()` instead of `getStoredProperties()`. rdar://89057767
…te an empty initializer instead of failing
…g an invalid type relation when used after '@' When completing after `@`, record what kind of attributes are applicable here (property wrapper, result builder, global actor), mark types that are marked as property wrapper etc. as having a 'Convertible' type relation and mark all other types as having an invalid type relation. rdar://78239501
…mberwise initializer Previously, we were dropping backticks, which might lead to invalid code if the type member was a keyword. rdar://81888671
…operties with getter and setter
…s earlier before the first query for pre-specialziations
…dary-path [Distributed] revert too aggressive synthesis removal, and fix it instead
…cialize_targetFunction_earlier GenericSpecialization: Move once initialization of pre-specializations earlier before the first query for pre-specialziations
[SourceKit] In related identes, report underlying var of closure capture and shorthand if let binding
…e-property-wrapper [Refactoring] Several improvements to memberwise initializer generation
`Package.swift` in the build directory and symlinking Sources directory wasn't great for source control and break points. Since C modules doesn't need the generated headers at this point, make `Package.swift` static again with a symlink to the string processing source directory.
…511769 [CodeCompletion] Suggest 'actor' decl introducer keyword
…-static [SwiftCompilerSources] Make Package.swift static
…ation [CodeCompletion] Mark types that can’t be used as attributes as having an invalid type relation when used after '@'
…tor-available-operations [cxx-interop] Add tests for the available operations of `std::iterator`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )