Skip to content

[pull] swiftwasm from master #1791

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 38 commits into from
Sep 22, 2020
Merged

[pull] swiftwasm from master #1791

merged 38 commits into from
Sep 22, 2020

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 21, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

hborla and others added 24 commits September 11, 2020 15:43
…acking

property wrapper before all of self is initialized if the wrapper has already
been initialized.
Reject concurrency-only attributes in the parser if the experimental
concurrency mode is not enabled.
Introduce a new attribute `@actorIndependent` that specifies that a
given declaration is considered to be independent of any actor.
Actor-independent declarations do not have access to actor-isolated
state, even when they are declared as instance members of the actor.

On the other hand, actor-independent declarations can be used to
conform to (synchronous) requirements in protocols.
…b assert-build

And rename COWSanityChecks -> COWChecks.

rdar://problem/68181747
…to help debug failures on bots.

Just a quick hack to ease debugging on the bots.
…independent

[Concurrency] Introduce `@actorIndependent` attribute.
Now that the top-level source file is the only dependency source that
matters, the only case that matters is when request evaluation enters
a primary file. For non-primaries, there will be no corresponding
swiftdeps file to emit references into, so we're just wasting time and
memory keeping track of anything that happens there.

This is only possible after we removed cascading dependencies because
unqualified lookups had to be charged to the files they originated in.
Now, we charge those lookups to the primary that initiated the request.
swift-ci and others added 5 commits September 21, 2020 10:17
Drop Legacy Cascading Dependencies From the Frontend
The final set of edges that were being registered cascading were external edges. Just mark these all private - they're duplicated into the swiftdeps for each file that imports a given (usually clang) module anyways.
Now that the frontend no longer produces these edges, we do not need to assert about them.
This is no longer a meaningful distinction.
CodaFi and others added 9 commits September 21, 2020 14:47
Only external edges need this.
…ialized witness

Deserialized computed properties don't get a PatternBindingDecl apparently.

Fixes <rdar://problem/68241758>.
…res with implicit returns too (swiftlang#33604)

* [SILGen] Emit unreachable code diagnostics for single expression closures with implicit returns too

* [Test] Update diagnostic in test/SILGen/functions_uninhabited_param.swift
…ring

[Property Wrappers] Refine assign_by_wrapper lowering
…ing-crash-no-pbd

Sema: Fix crash on static -vs- non-static witness mismatch with deserialized witness
…alls

Excise Remaining Usages of Legacy Cascading Dependencies From Frontend
@kateinoigakukun kateinoigakukun merged commit c89e502 into swiftwasm Sep 22, 2020
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.