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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 23 02:42:42 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=723

           Summary: bad mixin of class definitions at function level:
                    func.c:535: virtual void
                    FuncDeclaration::semantic3(Scope*): Assertion `0' failed
           Product: D
           Version: 0.177
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


(Origially reported by bobef <bobef at lessequal.com> on 2006-03-02
as news:du4ong$1b0n$2 at digitaldaemon.com)

#
# 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


-- 



More information about the Digitalmars-d-bugs mailing list