[SR-12801] Compiler crash on generic subscript AnyObject lookup #55246
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 version 5.3-dev (LLVM cb105ac, Swift fcd5def)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 9c7f0d331b4c197bde27778a0659d75f
Issue Description:
The following hits an assertion in SIL verifier:
But we should reject it in Sema as generic subscripts shouldn't be able to be marked @objc.
The text was updated successfully, but these errors were encountered: