[dmd-internals] [D-Programming-Language/dmd] e9538d: fix Issue 8180 - UFCS writeln doesn't work with Tu...

GitHub noreply at github.com
Fri Jun 15 15:10:19 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: e9538dc00db8789ab1f686f0a0a2bed7316ee794
      https://github.com/D-Programming-Language/dmd/commit/e9538dc00db8789ab1f686f0a0a2bed7316ee794
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-06-03 (Sun, 03 Jun 2012)

  Changed paths:
    M src/expression.c
    M src/mtype.c
    M test/runnable/ufcs.d

  Log Message:
  -----------
  fix Issue 8180 - UFCS writeln doesn't work with Tuples


  Commit: 41ad40e7332faae02e9e087b6cba1cc2711eb742
      https://github.com/D-Programming-Language/dmd/commit/41ad40e7332faae02e9e087b6cba1cc2711eb742
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-06-03 (Sun, 03 Jun 2012)

  Changed paths:
    M src/expression.c
    M test/runnable/ufcs.d

  Log Message:
  -----------
  Allow ignoring built-in property names on call-exp and templatized property with UFCS.

For array types, followings are already allowed:
  darr.init(...), sarr.ptr(...), aarr.stringof(...)

I'm not sure that it is a feature or bug, but if it's expected, following should work, too:
  arr.sort!"a>b"


  Commit: c7e14655b631365083c6577cd3212877fa87b713
      https://github.com/D-Programming-Language/dmd/commit/c7e14655b631365083c6577cd3212877fa87b713
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-06-15 (Fri, 15 Jun 2012)

  Changed paths:
    M src/expression.c
    M src/mtype.c
    M test/runnable/ufcs.d

  Log Message:
  -----------
  Merge pull request #979 from 9rnsr/fix_ufcs

Fix issue 8180 and increase consistency of UFCS lookup


Compare: https://github.com/D-Programming-Language/dmd/compare/5428cbf4229e...c7e14655b631


More information about the dmd-internals mailing list