[dmd-internals] [D-Programming-Language/dmd] de86eb: fix Issue 13281 - Print type suffix of real/comple...

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Aug 11 05:28:31 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: de86eb33315ef0b47542acc6f4024bbf1931fc11
      https://github.com/D-Programming-Language/dmd/commit/de86eb33315ef0b47542acc6f4024bbf1931fc11
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-08-11 (Mon, 11 Aug 2014)

  Changed paths:
    M src/expression.c
    M src/hdrgen.c
    A test/compilable/test13281.d
    A test/fail_compilation/diag13281.d
    M test/fail_compilation/diag9357.d
    M test/runnable/functype.d

  Log Message:
  -----------
  fix Issue 13281 - Print type suffix of real/complex literals in pragma(msg) and error diagnostic

Use PrettyPrintVisitor::floatToBuffer from RealExp and ComplexExp::toChars().
The change in diag9375 is intended to print exact value.


  Commit: 92db02c8971d62574e63a4f0d422967292b0ba0a
      https://github.com/D-Programming-Language/dmd/commit/92db02c8971d62574e63a4f0d422967292b0ba0a
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-08-11 (Mon, 11 Aug 2014)

  Changed paths:
    M src/expression.c
    M src/expression.h

  Log Message:
  -----------
  [Refactoring] Remove unnecessary Expression::toChars() overridings


  Commit: 5ce80cf1161f7bc098cc51056478459c375c3b0e
      https://github.com/D-Programming-Language/dmd/commit/5ce80cf1161f7bc098cc51056478459c375c3b0e
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2014-08-11 (Mon, 11 Aug 2014)

  Changed paths:
    M src/expression.c
    M src/expression.h
    M src/hdrgen.c
    A test/compilable/test13281.d
    A test/fail_compilation/diag13281.d
    M test/fail_compilation/diag9357.d
    M test/runnable/functype.d

  Log Message:
  -----------
  Merge pull request #3868 from 9rnsr/fix13281

Issue 13281 - Print type suffix of real/complex literals in pragma(msg) and error diagnostic


Compare: https://github.com/D-Programming-Language/dmd/compare/07067a371a7d...5ce80cf1161f


More information about the dmd-internals mailing list