Bug 480785 - Renaming of labels in C code is not allowed
Summary: Renaming of labels in C code is not allowed
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 8.7.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-27 11:32 EDT by Gunjan Aggarwal CLA
Modified: 2020-09-04 15:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunjan Aggarwal CLA 2015-10-27 11:32:53 EDT
Steps to reproduce:
1) select a label in c program, right-click and select refactor -> rename option. 
2) Notice that all the occurrences of label got selected and highlighted.
3) Change the name of the label and you will notice that name of the label changed in other places too. 
4) click Enter and an error message is shown: "The selected name cannot be renamed." 

Renaming a label should be allowed.