mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Early on in the development of conditional conformances, we put in a bunch of assertions for code that uses `conformsToProtocol()` but wasn't handling conditional conformances. Now, `conformsToProtocol()` handles conditional conformances by default, and these assertions are tripping up code that would work. Remove the assertions and add test cases that used to trip up the assertions (but now work).
9.6 KiB
9.6 KiB