Bug 29114 - ajc thinks an array intertype declaration is not an array
Summary: ajc thinks an array intertype declaration is not an array
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-07 16:28 EST by Doug Orleans CLA
Modified: 2003-01-07 18:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Orleans CLA 2003-01-07 16:28:45 EST
ajc 1.1b2.  This is probably related to bug 29113.

class Foo { }
aspect Bar {
  int[] Foo.bar;
  Foo.new(int[] bar) { this.bar = bar; }
}
/home/dougo/daj/test/array/Foo.java:4: Type mismatch: cannot convert from int[] to int
Comment 1 Jim Hugunin CLA 2003-01-07 18:17:59 EST
fixed in cvs, testcase in tests/bugs/InterFieldArrays.java