Bug 726 – incorrect error line for "override" mixin

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-23T07:08:00Z
Last change time
2014-02-15T13:21:56Z
Keywords
diagnostic
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-12-23T07:08:40Z
(Originally reported by Sean Kelly <[email protected]> on 2005-04-15 in news:[email protected]) # # class C{ # } # # class D : C{ # template fn() { # override void fn(){ // line A # } # } # mixin fn; // line B # } # DMD complains about line A but doesn't mention the cause in line B. test cases: http://dstress.kuehne.cn/nocompile/o/override_10.d
Comment #1 by bugzilla — 2007-11-03T21:44:34Z
Fixed dmd 1.023 and 2.007