[dlang.org] [D-Programming-Language/dlang.org] a1d39f: Add clarification for abstract function bodies.

GitHub via dlang.org dlang.org at puremagic.com
Wed Feb 10 09:22:20 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dlang.org
  Commit: a1d39fcd5714efdbaf55462c34a0302d90c94d7d
      https://github.com/D-Programming-Language/dlang.org/commit/a1d39fcd5714efdbaf55462c34a0302d90c94d7d
  Author: Johan Engelen <johan at tostiband.nl>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M spec/attribute.dd

  Log Message:
  -----------
  Add clarification for abstract function bodies.

I find it clearer to explicitly state that `abstract int foo() { return 0; }` renders the encompassing class un-instantiatable, even though all function bodies are available.


  Commit: c3314cbac83073df191ef09ca144800c51052588
      https://github.com/D-Programming-Language/dlang.org/commit/c3314cbac83073df191ef09ca144800c51052588
  Author: Adam D. Ruppe <destructionator at gmail.com>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M spec/attribute.dd

  Log Message:
  -----------
  Merge pull request #1230 from JohanEngelen/patch-1

Add clarification for abstract function bodies.


Compare: https://github.com/D-Programming-Language/dlang.org/compare/a34cd8e26a92...c3314cbac830


More information about the dlang.org mailing list