www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 635] New: regression: looping "Error: outer class Outer 'this' needed to 'new' nested class Inner"

reply d-bugmail puremagic.com writes:
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
...


-- 
Dec 03 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=635


thomas-dloop kuehne.cn changed:

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





*** Bug 672 has been marked as a duplicate of this bug. ***


-- 
Dec 10 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=635


bugzilla digitalmars.com changed:

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





Fixed DMD 0.178


-- 
Dec 27 2006