Thread overview
[Issue 635] New: regression: looping "Error: outer class Outer 'this' needed to 'new' nested class Inner"
Dec 03, 2006
d-bugmail
Dec 10, 2006
d-bugmail
Dec 27, 2006
d-bugmail
December 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=635

           Summary: regression: looping "Error: outer class Outer 'this'
                    needed to 'new' nested class Inner"
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


http://dstress.kuehne.cn/nocompile/n/nested_class_01_C.d

causes an invinite loop of error messages:

nocompile/n/nested_class_01_C.d(15): Error: outer class Outer 'this' needed to
'new' nested class Inner
nocompile/n/nested_class_01_C.d(15): Error: 'this' is only allowed in
non-static member functions, not main
nocompile/n/nested_class_01_C.d(15): Error: 'this' for nested class must be a
class type, not int
nocompile/n/nested_class_01_C.d(15): Error: outer class Outer 'this' needed to
'new' nested class Inner
nocompile/n/nested_class_01_C.d(15): Error: 'this' is only allowed in
non-static member functions, not main
nocompile/n/nested_class_01_C.d(15): Error: 'this' for nested class must be a
class type, not int
nocompile/n/nested_class_01_C.d(15): Error: outer class Outer 'this' needed to
'new' nested class Inner
...


-- 

December 10, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=635


thomas-dloop@kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wstring@gmail.com




------- Comment #1 from thomas-dloop@kuehne.cn  2006-12-10 14:35 -------
*** Bug 672 has been marked as a duplicate of this bug. ***


-- 

December 27, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=635


bugzilla@digitalmars.com changed:

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




------- Comment #2 from bugzilla@digitalmars.com  2006-12-27 02:00 -------
Fixed DMD 0.178


--