forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 30
[pull] swiftwasm-release/5.7 from release/5.7 #4681
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
[stdlib] Revise: applied trailing closure syntax to some examples in Result.swift (cherry picked from commit a62349a)
[Concurrency] Revise `Async-` related files doc (cherry picked from commit 4b0824c)
Cursor info on a reference to a decl that shadows other decls should not include those decls in the secondary symbols. They should only be added on the decl itself, if that particular location is *also* the reference to the shadowed decl (eg. in a shorthand if let or closure capture). Resolves rdar://96305891.
Associated type references can be mangled without reference to the protocol they are in when there is only one protocol to which the base type conforms. Because marker protocols can never have associated types, don't consider them in this computation. This allows marker protocols to be added more freely to, e.g., generic type requirements. Fixes rdar://95994469.
…actor. Fixes a spurious warning reported by rdar://95777456.
[Distributed] generic and inner test; without one edge case [Distributed] fix distributed_thunk test; unsure about those extra hops, could remove later [Distributed] Remove type pretending in getSILFunctionType; it is not needed It seems our constant replacement in the earlier phases is enough, and we don't need this trick at all. [Distributed] Use thunk when calling cross-actor on DA protocols
[5.7][CursorInfo] References should not include shadowed declarations
…cutor-stays-on-actor-5.7 Calling `@_unsafeInheritExecutor` functions doesn't exit the current actor
…soc-type-mangling-5.7 [5.7] Don't consider marker protocols when mangling associated type refs.
…docs Cherry pick doc comment clean-up
…ion bodies This eliminates spurious warnings suggesting that folks remove `@preconcurrency` from imports that occur during `-emit-module` phases, because we're skipping function bodies and, therefore, the code that would depend on the `@preconcurrency` import. Fixes swiftlang#58183 / rdar://89940926.
Currently when looking for field descriptors we parse the reflection metadata in whatever order it was registered. This patch implements a heuristic where we try to match a new optional Name field with the module name of the type's field descriptor we're looking for. rdar://87889973 (cherry picked from commit 65a9e7d)
…eserve its location" These changes broke a case where conversion is used in a literal array element position passed as an argument to a call i.e.: ``` enum E { case test([CGFloat]) } struct Container { var prop: E } struct Point { var x: Double var y: Double } func test(cont: inout Container, point: Point) { cont.prop = .test([point.x, point.y]) } ``` This reverts commit 7777e3a.
Fixes rdar://96367576 and rdar://96367737.
…-distributed-squashed 🍒 [5.7][Distributed] Remove dist requirement explicit async throws limitation
…t context is always anonymous
…ide 'TypeRefBuilder'
…type infos from a binary When detecting that an associated type's substituted type is an opaque type, read out its opaque type descriptor to collect the names of protocols it must conform to.
…edContextNameReader'.
…rotocol requirements
…rency-remarks-5.7 Don't emit `@preconcurrency import` remarks when we're skipping function bodies
…ode helpers We expect indices to be already validated by the time these are called, and UBP’s debug-mode checks are compiled into opaque parts of the stdlib. (The big exception is that Swift <5.7 used to not do proper index validation and allowed out-of-bounds accesses. We emulate this behavior for code that was compiled with such a release, and it turns out that these UnsafeBufferPointer checks are interfering with the intended (undefined) behavior.) rdar://93707276 (cherry picked from commit 64a57e3)
…ic-extensions [5.7][SE-0361] Enable bound generic extensions.
[5.7] Revert "[TypeChecker] Adjust Double<->CGFloat conversion to always pr…
[5.7] Fix extended existential symbolic demangling on arm64e
…ments [5.7] Gather opaque type conformance requirements when scanning associated type infos from a binary
…tinterface [5.7][ASTPrinter] Don't print 'any' in Swift interfaces.
…ess-inside-strings-5.7 [5.7][stdlib] Switch to using unchecked buffer subscript in low-level Unicode helpers
rdar://92463233
[Test] Disabled fail-with-bad-deps-fine.swift.
When emitting a call to the getter for storage, emit the actor hop (and hop back) as part of the call itself, rather than around the whole initialization. This address a bug involving initialization with an optional binding in an `if let`, where the hop-back would only be performed on the non-nil branch. Fixes rdar://96487805 / FB10562197
…uristic Make TypeRefBuilder::getFieldTypeInfo iterate over images in a smarter manner
…-get-access-5.7
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 : )