Thread overview
[Issue 723] New: bad mixin of class definitions at function level: func.c:535: virtual void FuncDeclaration::semantic3(Scope*): Assertion `0' failed
Dec 23, 2006
d-bugmail
Sep 18, 2007
d-bugmail
Nov 04, 2007
d-bugmail
December 23, 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@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


(Origially reported by bobef <bobef@lessequal.com> on 2006-03-02 as news:du4ong$1b0n$2@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


-- 

September 18, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=723


smjg@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg@iname.com
  BugsThisDependsOn|                            |717




------- Comment #1 from smjg@iname.com  2007-09-18 16:11 -------
Clearly this is related to issue 717, if not a dupe.  But my comment there on the legality of such code applies equally here.


-- 

November 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=723


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla@digitalmars.com  2007-11-03 21:43 -------
Fixed dmd 1.023 and 2.007


--