[SR-15265] callAsFunction only works with methods, and not closures #57587
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
Additional Detail from JIRA
md5: 40b0a063f8cd60ce1bf23223e06f45e9
Issue Description:
Given that things like string interpolation and result builders are syntactic transformations, I would've expected this to work:
The text was updated successfully, but these errors were encountered: