[dmd-internals] [D-Programming-Language/dmd] 6db86f: fix Issue 14283 - spurious 'this' is not an lvalue...

GitHub via dmd-internals dmd-internals at puremagic.com
Sun Mar 15 15:37:17 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 6db86fdba070751ebbccede55b134aef1f791d46
      https://github.com/D-Programming-Language/dmd/commit/6db86fdba070751ebbccede55b134aef1f791d46
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-03-15 (Sun, 15 Mar 2015)

  Changed paths:
    M src/expression.c
    A test/compilable/deprecate14283.d

  Log Message:
  -----------
  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


  Commit: 3bc3f1cd69d43db971a75a1ad36a04e2ac914fe9
      https://github.com/D-Programming-Language/dmd/commit/3bc3f1cd69d43db971a75a1ad36a04e2ac914fe9
  Author: Walter Bright <walter at walterbright.com>
  Date:   2015-03-15 (Sun, 15 Mar 2015)

  Changed paths:
    M src/expression.c
    A test/compilable/deprecate14283.d

  Log Message:
  -----------
  Merge pull request #4497 from MartinNowak/fix14283

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


Compare: https://github.com/D-Programming-Language/dmd/compare/13611812be9b...3bc3f1cd69d4


More information about the dmd-internals mailing list