Files
swift-mirror/test/Serialization/Inputs/enum-mutual-circularity-2.swift
Joe Groff a3c4a711db Serialization: Exclude types from the same module as dependencies of an enum.
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.
2017-05-23 13:39:00 -07:00

4 lines
59 B
Swift

public enum TweedleDum {
indirect case dee(TweedleDee)
}