[SR-9840] @convention function conversions spuriously triggering escape analysis #52254
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.0-dev (LLVM 3d732ae554, Clang 38ef19dd1f, Swift 87b66e7)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
md5: 4925c6ba1fef8aedfe285804613ccbc3
relates to:
Issue Description:
Unsure if this is the same issue as [SR-9839] or not, but filing separately just in case it isn't.
The following doesn't compile:
However it does compile if the
@convention(block)
is removed frombar
's parameter.The text was updated successfully, but these errors were encountered: