[dmd-internals] [D-Programming-Language/dmd] c34acd: Fix bug 7209: Stack overflow on circular enum with...

GitHub via dmd-internals dmd-internals at puremagic.com
Wed May 28 13:29:16 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: c34acdacd7d37eb7b0f029d3b4bbe53823e4a55c
      https://github.com/D-Programming-Language/dmd/commit/c34acdacd7d37eb7b0f029d3b4bbe53823e4a55c
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M src/expression.c
    M test/fail_compilation/fail269.d
    M test/fail_compilation/test8556.d

  Log Message:
  -----------
  Fix bug 7209: Stack overflow on circular enum with explicit type

Detect the error in the semantic pass. This slightly changes the error
message for one existing test (it was previously detected inside CTFE)
-- now the *first* circular definition generates the error, which makes
more sense.


  Commit: 4fbe9f4ed0cd1784a1cc51dff65f4608ea2078b1
      https://github.com/D-Programming-Language/dmd/commit/4fbe9f4ed0cd1784a1cc51dff65f4608ea2078b1
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M src/expression.c
    M test/fail_compilation/fail269.d
    M test/fail_compilation/test8556.d

  Log Message:
  -----------
  Merge pull request #3594 from donc/circular_enum7209

Fix bug 7209: Stack overflow on circular enum with explicit type


Compare: https://github.com/D-Programming-Language/dmd/compare/f15bd87f04b2...4fbe9f4ed0cd


More information about the dmd-internals mailing list