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.
Code example: ---------------8<------------------- class class_a { public: class_a(int a): _a(a){ } virtual ~class_a() { } private: int _a; }; int main(int argc, char** argv) { class_a a_obj2(1); return 0; } ---------------8<------------------- Steps: - invoke Refactor->Change Function Parameters on class_a(int a) constructor. - add new parameter - refactor Code becomes uncompilable.
http://hg.netbeans.org/cnd-main/rev/b4e2515eecd6 disable change params for constructors and change defect to ENH for support it in Next
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b4e2515eecd6 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fix up for #222971 - Changing constructor parameters make code uncompilable - disable change parameters for constructors, we do not handle them correctly yet