[Issue 14283] [2.067-b4]: Spurious "this is not an lvalue" deprecation message for "auto ref" arguments

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Mar 15 15:37:19 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14283

--- Comment #4 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/6db86fdba070751ebbccede55b134aef1f791d46
fix Issue 14283 - spurious 'this' is not an lvalue deprecation for auto ref

- suppress deprecation message for auto ref parameters as passing
  'this' to auto ref will remain correct when it becomes an rvalue
  and because it's very unlikely that the passing as ref argument
  was intentional

https://github.com/D-Programming-Language/dmd/commit/3bc3f1cd69d43db971a75a1ad36a04e2ac914fe9
Merge pull request #4497 from MartinNowak/fix14283

fix Issue 14283 - spurious 'this' is not an lvalue deprecation for auto ref

--


More information about the Digitalmars-d-bugs mailing list