[SR-11027] Disallow @convention(c)
and @autoclosure
parameters
#53417
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
crash
Bug: A crash, i.e., an abnormal termination of software
type checker
Area → compiler: Semantic analysis
Environment
DEVELOPMENT-SNAPSHOT-2019-06-23-a
Apple Swift version 5.1-dev (LLVM af1f73e9e9, Swift bcdd46c)
Target: x86_64-apple-darwin18.6.0
Additional Detail from JIRA
md5: f11e7d4d622033b892399ac682af75f2
Issue Description:
@convention(c)
and@autoclosure
parameters should be rejected during type checking.Currently, the compiler crashes during SILGen:
Consider disallowing other
@convention
+autoclosure
combinations.The text was updated successfully, but these errors were encountered: