This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149064

Summary: Diagnostics for inheritance and other loops
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: Code ModelAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vladimir Kvashin 2008-10-03 13:50:20 UTC
To prevent stack overflow in the case user writes
class C : C {};
an "anti-loop" pattern is used in several places of model.

That's correct. But sometimes model goes into loop not because of user error,
but because of error in model itself (for example, this might be causes by lack of accuracy 
in templates partial specializations)

For such cases a diagnostic should be added so that it
- does not annoy user (i.e. works in developers mode only)
- show development that there is an error