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

Bug 339463

Summary: Quick fix create local variable and others do not infer parameter types in method calls
Product: [Tools] CDT Reporter: Marc-André Laperle <malaperle>
Component: cdt-codanAssignee: Marc-André Laperle <malaperle>
Status: RESOLVED FIXED QA Contact: Elena Laskavaia <elaskavaia.cdt>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Create Local Variable in method call, patch + test malaperle: iplog-

Description Marc-André Laperle CLA 2011-03-10 00:23:26 EST
Example:

class Foo {
  void bar(char);
};

void func() {
  Foo foo;
  foo.bar(aChar);
}

Using the quick fix on aChar infers the type int instead of char.
Comment 1 Marc-André Laperle CLA 2011-03-22 00:18:23 EDT
Created attachment 191654 [details]
Create Local Variable in method call, patch + test
Comment 2 Marc-André Laperle CLA 2011-03-22 00:29:58 EDT
Fixed in HEAD.