[dmd-internals] [D-Programming-Language/dmd] 86cfb0: fix Issue 8395 - Templated struct constructors don...

GitHub noreply at github.com
Mon Jul 23 01:38:55 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 86cfb07481ce37cb3dc8889597f4652887673f42
      https://github.com/D-Programming-Language/dmd/commit/86cfb07481ce37cb3dc8889597f4652887673f42
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-07-22 (Sun, 22 Jul 2012)

  Changed paths:
    M src/template.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  fix Issue 8395 - Templated struct constructors don't implicitly convert to const

With current dmd implementation, non template constructor always ignores the type qualifier of 'this'. Therefore template constructor should work as like it.


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

  Changed paths:
    M src/template.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #1060 from 9rnsr/fix8395

Issue 8395 - Templated struct constructors don't implicitly convert to const


Compare: https://github.com/D-Programming-Language/dmd/compare/cae21147f161...29c76d261fe8


More information about the dmd-internals mailing list