Bug 23191

Summary: Instance/Class Variables declared on multiple lines producing error
Product: [Eclipse Project] JDT Reporter: Govy Munamala <govym>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Govy Munamala CLA 2002-09-04 18:24:14 EDT
When tried to declare instance variables as followed, 
private int 	_top = 0,
		_bottom = 0,
		_topRow = 0,
		_bottomRow = 0;
i.e with variable _bottom declared in the next line and so on, the IDE couldn't
recognize any of the varibles from _bottom and below.. However when I tried to
declare all these on the same line for example 
private int _top = 0,_bottom = 0,_topRow = 0,_bottomRow = 0; it worked fine..
Comment 1 Olivier Thomann CLA 2002-09-06 14:41:59 EDT
Could not reproduce. Could you please describe what you mean with "the IDE couldn't
recognize any of the varibles from _bottom and below."?

I have no problem to get these variables through the code assist or compile code
that uses them.
Comment 2 Govy Munamala CLA 2002-09-06 15:56:38 EDT
Sorry, It was my mistake.. I had an un-matched curly bracket before the instance
variable definition and that seems to be the reason for this weird behaviour..
However when I matched the curly bracket the variable declaration is no longer a
problem!!!! 

You can ignore the bug... Sorry for the confusion...