Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329172 - Name resolution problem in a parameter default value
Summary: Name resolution problem in a parameter default value
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Markus Schorn CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-01 00:03 EDT by Sergey Prigogin CLA
Modified: 2010-11-04 12:23 EDT (History)
0 users

See Also:


Attachments
testcase + fix (7.81 KB, patch)
2010-11-04 12:05 EDT, Markus Schorn CLA
mschorn.eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2010-11-01 00:03:08 EDT
class A {
  A(int a = f());  // problem on f
  static int f();
};
Comment 1 Markus Schorn CLA 2010-11-04 12:05:30 EDT
Created attachment 182390 [details]
testcase + fix
Comment 2 Markus Schorn CLA 2010-11-04 12:18:39 EDT
Fixed in 8.0 > 20101104.