mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The replacement range was `FunctionDecl::getRange`, which does not include attributes. This would cause attributes to be duplicated when converting a function to async. Override the start with the attribute start instead so that they are replaced as well. Resolves rdar://74063741
191 KiB
191 KiB