Bug 723 – bad mixin of class definitions at function level: func.c:535: virtual void FuncDeclaration::semantic3(Scope*): Assertion `0' failed

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-23T04:42:00Z
Last change time
2014-02-15T13:19:07Z
Assigned to
bugzilla
Creator
thomas-dloop
Depends on
717

Comments

Comment #0 by thomas-dloop — 2006-12-23T04:42:41Z
(Origially reported by bobef <[email protected]> on 2006-03-02 as news:[email protected]) # # template T(){ # class B : A{ # this(){ # } # } # # class A{ # } # } # # void main(){ # mixin T!(); # } # test cases: http://dstress.kuehne.cn/nocompile/t/this_10_D.d http://dstress.kuehne.cn/nocompile/t/this_10_E.d http://dstress.kuehne.cn/nocompile/t/this_10_F.d
Comment #1 by smjg — 2007-09-18T16:11:46Z
Clearly this is related to issue 717, if not a dupe. But my comment there on the legality of such code applies equally here.
Comment #2 by bugzilla — 2007-11-03T21:43:54Z
Fixed dmd 1.023 and 2.007