mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We should use the source location of the call site, and not the enum element declaration, otherwise we emit incorrect debug info. Fixes <rdar://problem/63067437>.
4 lines
56 B
Swift
4 lines
56 B
Swift
public enum MyEnum {
|
|
case hasPayload(argument: Any)
|
|
}
|