mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
a3c4a711db
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
51 B
Swift
4 lines
51 B
Swift
import EnumCircularity
|
|
|
|
func foo(_: TweedleDee) {}
|