Avatar
omochimetaru 3/26/2018 6:45 AM
Hello Swift Evolution, Over the course of summer of 2017, I was tasked with exploring the implementation of ownership annotations for the Swift language. The goal at the time was to release this proposal at the end of my time and un-underscore ...
6:45 AM
shared 指定子とかのPitchきた
6:51 AM
Grammatical Changes The Swift language will be amended to support the addition of the borrow and consume type annotations. GRAMMAR OF A TYPE ANNOTATION type-annotation → : attributes(opt) inout(opt) type +type-annotation → : attributes(opt) borrow(opt) type +type-annotation → : attributes(opt) consume(opt) type In addition, the grammar of function declarations will be amended to support the consuming attribute. -mutation-modifier → mutating | nonmutating +self-ownership-convention → mutating | nonmutating | consuming
6:52 AM
sharedじゃなくてborrowとconsumeで来た