mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It seems that the restriction preventing these from working was lifted. The behavioral difference is that in Swift 5 mode, we don't actually open AnyObject like this, so the old operator could not be used with class-bound existentials. I added a trivial test case just to ensure that calls to === type check correctly in both language modes. Fixes rdar://156095800.
1.3 KiB
1.3 KiB