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.
1. Prepare the following example: ================================================= template <int param> int func(){ return param; } template <> int func<10>(){ return 30; } int main(int argc, char** argv){ func<40>(); return 0; } ================================================= 2. Right-click on the 'func' name in the first template declaration 3. Select Refactor -> Rename 4. Enter any new name for the function and press Refactor button. Expected result: all 3 occurrences of the 'func' name should be replaced with the new name. Actual result: only general template declaration name is changed. Full specialization of 'func' is not renamed, call of the 'func' from main() is not renamed.
Forgot to mention that if I remove the Full specialization and do the renaming, it replaces the function call from main() with the new name correctly. So, looks like the presence of this Full specialization causes the problem to arise.
It should be implemented as part of issue #191928 *** This bug has been marked as a duplicate of bug 191928 ***