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.
Summary: | Netbean doesn't suggest any errors on derived classes | ||
---|---|---|---|
Product: | cnd | Reporter: | harunaga |
Component: | Code Model | Assignee: | danilasergeyev |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | images |
looks like enchantment. Integrated into 'main-silver', will be available in build *201505080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1f5553c3ec4b User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: Bug 224779 - Netbean doesn't suggest any errors on derived classes fix fixed, change sets: http://hg.netbeans.org/cnd-main/rev/1f5553c3ec4b http://hg.netbeans.org/cnd-main/rev/f82d9189f4e2 Additional changes in fix, change set: http://hg.netbeans.org/cnd-main/rev/52c788f30ef9 Integrated into 'main-silver', will be available in build *201505300811* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/70d78badce38 User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: bug #224779 errors on derived classes: added recognition of deleted constructors, changed insertion point |
Created attachment 130129 [details] images lets consider the following code: class MyBase { public: MyBase(int a) { } virtual void test(); }; class MyDerived : public MyBase { }; the MyDerived class needs a constructor that require a int argument. but netbean doesn't suggest a thing or warnning that the code will get error in compilations. (not like in java)