mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
There can be a circularity when two enums recur through each other, and deserialization currently is not set up to robustly detect and avoid these circularities. This should avoid regressions, but re-exposes some possible cases that should require recovery in mix-and-match situations. Short-term fix for rdar://problem/32337278.
4 lines
59 B
Swift
4 lines
59 B
Swift
public enum TweedleDum {
|
|
indirect case dee(TweedleDee)
|
|
}
|