Results 338 comments of Atila Neves
trafficstars

That's more of an auto-complete thing, so I'd look in the documentation there.

Every link I tried goes to the right repository. Maybe MELPA fixed it?

I'm confused. When does `scope` ever apply to a member function then?

> I've made a forum post about it: https://forum.dlang.org/post/[email protected] I have a headache now... but thanks for taking the time to write the post and in so much detail. It...

Thanks for the issue. In the future, I'd suggest writing the proof-of-concept as a self-contained unittest. This is what I came up with based on your code: ```d @system unittest...

Hmmm. It's possible that the slice outlives the vector and is now pointing to dangling memory. In any case I have to completely review all uses of `@trusted` in automem....

Thanks for opening this. I'm currently reviewing all instances of `@trusted` in the code.

So: using @trusted obviously opens a can of worms. But: why isn't `return scope` enough for dmd to think it's safe to return a range with a pointer to this?...

Weirdly enough, this fails to compile as expected with dip1000: ```d typeof(Container.range()) global; void main() @safe { auto c = Container(); global = c.range; } struct Container { auto range()...