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 - Diagnostics for inheritance and other loops
Summary: Diagnostics for inheritance and other loops
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 13:50 UTC by Vladimir Kvashin
Modified: 2013-07-19 12:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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