Bug 14602 - ast: length of variable declaration fragment
Summary: ast: length of variable declaration fragment
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-25 09:11 EDT by Adam Kiezun CLA
Modified: 2002-04-26 10:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-04-25 09:11:47 EDT
package p;
public class A{
 String message= A.m("s", new String[]{"g"});
 static String m(String g, String[] s){return null;}
}

length of the declaration of message is 17 - which is even shorter than the 
length of its initializer (27). correct length should be 36, i think
Comment 1 Adam Kiezun CLA 2002-04-25 09:12:11 EDT
forgot to assign to Olivier
Comment 2 Olivier Thomann CLA 2002-04-25 11:19:12 EDT
Fixed and released in HEAD.