Slava Pestov
afa5a8874c
AST: Add AnyFunctionType::hasEffect()
2021-02-28 22:21:08 -05:00
Slava Pestov
09dedaa5fe
Sema: Start abstracting out the 'effect' in rethrows-checking logic
...
For now, this is NFC, but it lays the groundwork for implementing
'reasync'.
2021-02-17 18:34:18 -05:00
swift-ci
06513524e9
Merge pull request #35940 from AnthonyLatsis/eof-warn
2021-02-12 11:37:40 -08:00
Anthony Latsis
39649161d0
Gardening: See to some missing newline warnings
2021-02-12 17:00:47 +03:00
Slava Pestov
e2d4eb64e0
Sema: Fix recursion into associated conformances when checking for rethrows
...
The logic for recursively expanding protocol requirements was broken.
Instead, let's do the recursive visitation when evaluating a
conformance to a @rethrows protocol.
2021-02-10 16:30:30 -05:00
Slava Pestov
f3c9b00298
AST: Allow empty protocols to be @rethrows
2021-02-09 00:11:01 -05:00
Slava Pestov
a1d483faf3
AST: Move some code from ProtocolConformance.cpp to Effects.cpp / TypeCheckEffects.cpp
2021-02-09 00:11:01 -05:00
Slava Pestov
547057380f
AST: Split off Effects.cpp from Decl.cpp
2021-02-09 00:11:01 -05:00