[Issue 635] New: regression: looping "Error: outer class Outer 'this' needed to 'new' nested class Inner"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 3 01:54:00 PST 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 at digitalmars.com
ReportedBy: thomas-dloop at 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
...
--
More information about the Digitalmars-d-bugs
mailing list