swiftlang/swift-syntax

KeyPath `.self` cannot be resolved in earlier Swift versions

Closed this issue · 1 comments

Description

#2792 introduced a bug in BodyMacroTests.swift:181,

return body.map(\.self)

where \.self cannot be resolved by the compiler of some earlier Swift versions.

Steps to Reproduce

No response

Synced to Apple’s issue tracker as rdar://133571001