mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It was checking the wrong predicate, and therefore failing to mark inherited default arguments as actually being inherited. While here, explicitly clear out default arguments from non-inherited cloned parameter lists. I don't think this case can come up today, but it's better to be correct when we do hit it. rdar://problem/30167924
6.8 KiB
6.8 KiB