Skip to content

Conversation

@tbkka
Copy link
Contributor

@tbkka tbkka commented Nov 13, 2020

This adds tests for a number of Swift SR reports and Radars that were fixed by the recent dynamic casting overhaul, to help ensure that these issues were really fixed and will remain fixed in the future.

Note that the last test here for SR-12025 does not currently pass. I've added a test anyway just to help document the issue and help us recognize when it does get fixed.

a generic `is` test for a struct conforming to a protocol.

Resolves rdar://70999129
Resolves SR-13812
Resolves SR-8964
Resolves rdar://45217461
Resolves rdar://48769924
Resolves rdar://35321438
@tbkka
Copy link
Contributor Author

tbkka commented Nov 13, 2020

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - efa7d90

@tbkka
Copy link
Contributor Author

tbkka commented Nov 13, 2020

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - b08d5b1

@tbkka
Copy link
Contributor Author

tbkka commented Nov 14, 2020

@swift-ci Please clean test Linux

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - b08d5b1

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - b08d5b1

@tbkka
Copy link
Contributor Author

tbkka commented Nov 16, 2020

@swift-ci Please test

@tbkka tbkka merged commit 9e4bdb6 into swiftlang:main Nov 17, 2020
ainu-bot added a commit to google/swift that referenced this pull request Nov 17, 2020
* 'main' of github.com:apple/swift:
  More dynamic casting tests (swiftlang#34732)
@tbkka tbkka deleted the tbkka/dynamicCastingTests branch August 1, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants