[dmd-internals] [D-Programming-Language/dmd] 51106f: Issue 5851 - Ambiguous alias this accepted

GitHub noreply at github.com
Tue Jul 17 01:32:54 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 51106f05fe3cf3abd2650ddd316eaaeedafc9fc6
      https://github.com/D-Programming-Language/dmd/commit/51106f05fe3cf3abd2650ddd316eaaeedafc9fc6
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2012-04-13 (Fri, 13 Apr 2012)

  Changed paths:
    M src/aliasthis.c
    A test/fail_compilation/fail5851.d

  Log Message:
  -----------
  Issue 5851 - Ambiguous alias this accepted

Disallow alias this when the aggregate type implicitly converts to the aliased type.

Fixes issue 5851.


  Commit: bc83600d34f6f7d5c5effdaa3c9ed635701b6953
      https://github.com/D-Programming-Language/dmd/commit/bc83600d34f6f7d5c5effdaa3c9ed635701b6953
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M src/aliasthis.c
    A test/fail_compilation/fail5851.d

  Log Message:
  -----------
  Merge pull request #676 from yebblies/issue5851

Issue 5851 - Ambiguous alias this accepted


Compare: https://github.com/D-Programming-Language/dmd/compare/d5dc77452b7f...bc83600d34f6


More information about the dmd-internals mailing list