Closed don-clugston-sociomantic closed 4 years ago
From dmd2.092 onwards, functions which use the return &this method chaining idiom, must be marked with the return annotation. This makes it impossible for @safe code to have references to destructed stack objects (see DIP25).
return &this
return
Please also check the dmqproto one so I can merge it as well.
From dmd2.092 onwards, functions which use the
return &this
method chaining idiom, must be marked with thereturn
annotation. This makes it impossible for @safe code to have references to destructed stack objects (see DIP25).