[SR-3442] Non-escaping closure can't capture mutating self #46030
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 3.0
Environment
Swift 3.0.2, all platforms
Additional Detail from JIRA
md5: 966044ecbecdd175db286ad7ecbd7511
Issue Description:
Non-escaping closure can't capture mutating self in Swift 3.0.2. Compiler gives "closure cannot implicitly capture a mutating self parameter". This broke a lot of code of mine.
The text was updated successfully, but these errors were encountered: