Bug 149064 - Diagnostics for inheritance and other loops
Diagnostics for inheritance and other loops
Status: NEW
Product: cnd
Classification: Unclassified
Component: Code Model
6.x
All All
: P2 (vote)
: 6.x
Assigned To: issues@cnd
issues@cnd
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo