[swift-users] Implicitly capture a mutating self

2016-12-15 Thread Richard Wei via swift-users
Hi, Swift 3.0.2 seems to have broken my code due to mutating self capture. But I have to pass inout self to the closure. Any workaround? let blockSize = min(512, count) let blockCount = (count+blockSize-1)/blockSize device.sync { // Launch CUDA kernel try! fill<<<(blockSize,

Re: [swift-users] ANTLR 4.6 now generates parsers in Swift

2016-12-15 Thread Rick Mann via swift-users
Awesome! > On Dec 15, 2016, at 22:11 , Terence Parr via swift-users > wrote: > > Dear Swift-users! Just a quick note that I finally got the Swift code > generation target for the ANTLR 4 parser generator integrated and released! > You can see the release notes here: >

[swift-users] ANTLR 4.6 now generates parsers in Swift

2016-12-15 Thread Terence Parr via swift-users
Dear Swift-users! Just a quick note that I finally got the Swift code generation target for the ANTLR 4 parser generator integrated and released! You can see the release notes here: https://github.com/antlr/antlr4/releases/tag/4.6 To get