Doug Gregor
06dc77ddf3
Revert "[Concurrency] Resyntax 'async let' as 'spawn let'."
...
This reverts commit 41f42fabbf .
2021-05-06 22:18:36 -07:00
Doug Gregor
41f42fabbf
[Concurrency] Resyntax 'async let' as 'spawn let'.
...
This helps track the proposal.
2021-04-29 23:28:16 -07:00
Evan Wilde
3da0a540eb
Update tests
...
This patch updates all the tests to accept the new error messages.
*Gack* so many things needed cleaning up.
2021-04-24 07:51:18 -07:00
Slava Pestov
8b4d58988d
Sema: Fix effect checking issues with 'async let' and string interpolation
2021-03-29 23:49:33 -04:00
Doug Gregor
c76dac7155
Banish @asyncHandler to a hidden flag.
...
We don't want @asyncHandler to be part of the concurrency model, so put
it behind a different flag.
2021-03-25 16:45:21 -07:00
Kavon Farvardin
74eb1a7ae6
allow property/subscript access expressions for actors in typechecker
...
We now mark some DeclRefExpr and LookupExprs as implicitly async
during typechecking, depending on whether they appear in a context
that is only performing a read / get operation, and whether they
are cross-actor operations.
also resolves rdar://72403401 by improving the error messages
(no more vague "'await' in async context" when its clearly a call!)
2021-03-04 18:37:32 -08:00
Slava Pestov
2c19e70b2f
Sema: Initial implementation of 'reasync' body checking
...
This also implements rethrows checking for rethrows-by-conformance
functions bodies, too.
2021-03-02 00:53:25 -05:00
Slava Pestov
586885bbf7
Sema: Preliminary implementation of 'reasync' call site checking
...
Part of <rdar://problem/71098795>.
2021-03-02 00:49:47 -05:00
Slava Pestov
6655f517bf
Sema: Reject invalid 'reasync' functions
2021-03-02 00:49:34 -05:00
Slava Pestov
6c69d17e0c
Parse: Implement parsing for 'reasync' attribute
...
Part of <rdar://problem/71098795>.
2021-02-15 22:18:54 -05:00