[SR-1980] Emit multiple vtable entries for overrides that change calling convention #44589
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
type checker
Area → compiler: Semantic analysis
Environment
Swift 2.2 (command line invocation of compiler)
Additional Detail from JIRA
md5: c5805c167887e57b9f186f79a3fbcfa9
duplicates:
Issue Description:
The code below generates a type error claiming that the "override" keyword is needed. Once it is added, the type checker will be happy, but the compiler will crash during an optimization phase. I don't believe that the demand for the "override" keyword is warranted since the code will compile and execute fine without it when the argument types are Int? and Int?? instead of Int and Int?.
The text was updated successfully, but these errors were encountered: