Bug 29111 - Inter-type field decs of array types can't put brackets after id
Summary: Inter-type field decs of array types can't put brackets after id
Status: REOPENED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords: info
Depends on:
Blocks:
 
Reported: 2003-01-07 15:35 EST by Erik Hilsdale CLA
Modified: 2009-08-30 02:49 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 Erik Hilsdale CLA 2003-01-07 15:35:49 EST
The following code doesn't compile:

class Foo { }
aspect Bar {
  int Foo.bar[];
}

instead, programmers are forced to use int[] Foo.bar.  This is not particularly 
Java language compatible.
Comment 1 Jim Hugunin CLA 2003-01-07 15:43:55 EST
This syntax might be supported in the future, but it is not considered legal 
syntax in AspectJ-1.1.  Use instead:
int[] Foo.bar;
Comment 2 Jim Hugunin CLA 2003-01-07 19:19:34 EST
To be considered only if a working tested patch is submitted.
Comment 3 Jim Hugunin CLA 2003-06-04 13:13:44 EDT
marking as info because this clairifies the AspectJ-1.1 language
Comment 4 Eclipse Webmaster CLA 2009-08-30 02:49:01 EDT
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.