Bug 14173 – [REG2.064] Omitting return type with override hides an error

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-12T14:17:00Z
Last change time
2015-02-21T09:11:32Z
Keywords
accepts-invalid, pull
Assigned to
nobody
Creator
temtaime

Comments

Comment #0 by temtaime — 2015-02-12T14:17:53Z
class A { } class B : A { override foo() {} } void main() {} Compiles OK but shouldn't.
Comment #1 by sinkuupump — 2015-02-12T15:15:26Z
Comment #2 by k.hara.pg — 2015-02-14T06:04:30Z
Comment #3 by github-bugzilla — 2015-02-15T11:13:58Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0facc8a8ef8abcb18689420e4e0e8bbd61251359 fix Issue 14173 - Omitting return type with override hides an error https://github.com/D-Programming-Language/dmd/commit/53e2cd721f1cb3751c0825b1cc29ba6f0e59768e Merge pull request #4411 from 9rnsr/fix14173 [REG2.064] Issue 14173 - Omitting return type with override hides an error
Comment #4 by github-bugzilla — 2015-02-21T09:11:32Z