Bug 8128 – unittest blocks should be allowed in interfaces

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-21T00:53:00Z
Last change time
2013-01-16T06:29:10Z
Assigned to
nobody
Creator
alex

Comments

Comment #0 by alex — 2012-05-21T00:53:19Z
Static functions are allowed in interfaces. Thus, IMHO, it makes no sense to disallow unittest blocks in them.
Comment #1 by alex — 2012-05-21T01:06:00Z
Changing to enhancement.
Comment #2 by alex — 2012-05-21T01:36:31Z
Comment #3 by github-bugzilla — 2012-09-29T18:52:28Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e1f95f3251c9af20dd6d655c9ee022a51e3cce0c Fix issue 8128 - allow unittest blocks in interfaces. https://github.com/D-Programming-Language/dmd/commit/1d70dced6dc1f784eb6469d30637efa5ae85701b Merge pull request #960 from alexrp/interface-unittest Fix issue 8128 - allow unittest blocks in interfaces.
Comment #4 by github-bugzilla — 2012-09-29T23:41:40Z