swift
9bf0b6be - [SIL Serialization] Print mismatching SILFunction types on error

Commit
2 years ago
[SIL Serialization] Print mismatching SILFunction types on error The crash on `SILFunction type mismatch` provides little information and tends to be difficult to reproduce. Let's print some of the available information and distinguish the two failure sites. I'm not confident all required information is written down so we may need to improve this further in the future. This version still crashes the compiler, we may want a proper type-check to prevent this failure with a clean diagnostic for the example used here. rdar://53821031
Author
Committer
Parents
Loading