[dmd-internals] [D-Programming-Language/dmd] ecfb19: Fix bug 8788 The super constructor call can be pre...

GitHub noreply at github.com
Sat Oct 20 15:51:32 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: ecfb19e7d602594db174d9670416916b14b38466
      https://github.com/D-Programming-Language/dmd/commit/ecfb19e7d602594db174d9670416916b14b38466
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M src/expression.c
    M src/scope.c
    M src/statement.c
    M test/compilable/compile1.d

  Log Message:
  -----------
  Fix bug 8788 The super constructor call can be prevented by mentioning "return"

Fixes the flow analysis by clearly distinguishing "ALL branches have called a
constructor" from "ANY branches have called a ctor".
There are a large number of special cases.


  Commit: 81860f81f35d5b0843964a02c893393491fb06a3
      https://github.com/D-Programming-Language/dmd/commit/81860f81f35d5b0843964a02c893393491fb06a3
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-10-20 (Sat, 20 Oct 2012)

  Changed paths:
    M src/expression.c
    M src/scope.c
    M src/statement.c
    M test/compilable/compile1.d

  Log Message:
  -----------
  Merge pull request #1180 from donc/super8788return

8788 super() can be bypassed using return


Compare: https://github.com/D-Programming-Language/dmd/compare/fb6808ec01e9...81860f81f35d


More information about the dmd-internals mailing list