[dmd-internals] [D-Programming-Language/dmd] b90824: Removed code commented out for ages.

GitHub noreply at github.com
Sat May 12 22:21:51 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: b908243faa538af0f9c38920fc5d7e8652bfad2a
      https://github.com/D-Programming-Language/dmd/commit/b908243faa538af0f9c38920fc5d7e8652bfad2a
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-05-12 (Sat, 12 May 2012)

  Changed paths:
    M src/mtype.c

  Log Message:
  -----------
  Removed code commented out for ages.


  Commit: 6fec4c76494534bdbcd958eafea65c73b418deed
      https://github.com/D-Programming-Language/dmd/commit/6fec4c76494534bdbcd958eafea65c73b418deed
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-05-12 (Sat, 12 May 2012)

  Changed paths:
    M src/mtype.c

  Log Message:
  -----------
  Fix issue 4288 – Error on passing delegate to C linkage function.

This commit makes TypeDelegate::toCBuffer2 reuse the same code as for function pointers, which solves the problem that the linkage type is not included in error messages.

Previously, nonsensical messages like »cannot implicitly convert expression (dg) of type void delegate() to void delegate()« would be emitted.


  Commit: 7b1ed6349f405e3fed46d7c7b1a7cc641d7e9a8a
      https://github.com/D-Programming-Language/dmd/commit/7b1ed6349f405e3fed46d7c7b1a7cc641d7e9a8a
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-05-12 (Sat, 12 May 2012)

  Changed paths:
    M src/mtype.c

  Log Message:
  -----------
  Merge pull request #943 from klickverbot/argument-calling-conv-error

Issue 4288 – Error on passing delegate to C linkage function.


Compare: https://github.com/D-Programming-Language/dmd/compare/c075ecf...7b1ed63


More information about the dmd-internals mailing list