Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342519

Summary: Toggle refactoring: misleading error message
Product: [Tools] CDT Reporter: Emanuel Graf <emanuel>
Component: cdt-refactoringAssignee: Marc-André Laperle <malaperle>
Status: RESOLVED FIXED QA Contact: Emanuel Graf <emanuel>
Severity: normal    
Priority: P3 CC: cdtdoug, malaperle
Version: 8.0   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Toggle Function, mutliple declarators message patch malaperle: iplog-

Description Emanuel Graf CLA 2011-04-12 04:58:10 EDT
In DeclaratorFinder.extractDeclarator, it returns null if it's a
IASTSimpleDeclaration and it has multiple declarators but the message is
"cannot work without declarator". I think a different message like "cannot work
with multiple declarators" would be more accurate
Comment 1 Marc-André Laperle CLA 2011-04-12 12:47:08 EDT
Created attachment 193073 [details]
Toggle Function, mutliple declarators message patch

Patch. Also added missing copyrights in messages.properties.
Comment 2 Marc-André Laperle CLA 2011-04-12 12:50:03 EDT
Fixed in HEAD.