Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 7, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

swift-ci and others added 30 commits May 26, 2022 12:00
[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.
…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
…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.
…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…
rjmccall and others added 10 commits July 6, 2022 12:32
[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
[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
@kateinoigakukun kateinoigakukun merged commit 6594b7d into swiftwasm-release/5.7 Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.