swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.6k stars 10.37k forks source link

[CoroutineAccessors] Don't skip type-checking synthesized default implementations. #77661

Open nate-chandler opened 21 hours ago

nate-chandler commented 21 hours ago

Such bodies should be type-checked and emitted by SILGen accordingly.

nate-chandler commented 21 hours ago

@swift-ci please test

nate-chandler commented 21 hours ago

@swift-ci please test source compatibility

nate-chandler commented 21 hours ago

@swift-ci please apple silicon benchmark

slavapestov commented 19 hours ago

Why do these need to be emitted even if we're skipping function bodies otherwise?