Files
swift-mirror/test/SILGen/Inputs/enum_debuginfo_other.swift
Slava Pestov 23cbd7fd04 SILGen: Fix source location for the enum payload argument source
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>.
2020-05-12 19:42:26 -04:00

4 lines
56 B
Swift

public enum MyEnum {
case hasPayload(argument: Any)
}