[SR-9462] ProtocolConformanceAnalysis should also search Extensions for protocols #51925
Labels
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
run-time crash
Bug → crash: Swift code crashed during execution
SILOptimizer
Area → compiler: SIL optimization passes
task
Additional Detail from JIRA
md5: d43d6caac553c7ebbe23a8755a74a266
Issue Description:
Otherwise, we will miscompile the following test:
The problem is that the code today just looks through top level nominal types and doesn't check extensions. This is going to cause miscompiles on master and should be fixed ASAP.
I think the following patch will fix this:
Please add both a SIL and an interpreter test to make sure we do not break this again.
The text was updated successfully, but these errors were encountered: