Bug 426635 - Renaming parameter to a spaced name, leading to a compilation error
Summary: Renaming parameter to a spaced name, leading to a compilation error
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 8.1.1   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-25 00:46 EST by Gustavo Wagner CLA
Modified: 2020-09-04 15:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Wagner CLA 2014-01-25 00:46:39 EST
Reproducing the bug:


Consider the following code:
======== Original Version ========

void main (  int aa_0){
}

==================================

The refactoring tool is allowing to rename the parameter "aa_0" to a spaced name:

========== Refactored ===========

void main (  int a v){
}

=================================

The result is that the compiler throws an error.

Thanks in advance.