You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Feb 25, 2016
· 0 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfparserArea → compiler: The legacy C++ parser
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfparserArea → compiler: The legacy C++ parser
Additional Detail from JIRA
md5: d86692e7afa6976a74b72058f2374a46
duplicates:
relates to:
Issue Description:
It is not possible to create directly an array of functions, like this :
var a = [() -> ()]()
But it works with a typealias :
typealias Callback = () -> ()
var b = [Callback]()
The text was updated successfully, but these errors were encountered: