]> source.dussan.org Git - aspectj.git/commitdiff
fixed to match fact that this syntax is forbidden
authorjhugunin <jhugunin>
Mon, 30 Dec 2002 20:31:11 +0000 (20:31 +0000)
committerjhugunin <jhugunin>
Mon, 30 Dec 2002 20:31:11 +0000 (20:31 +0000)
tests/new/ArrayFieldDeclaration.java

index fec447fb11eca143cd2a8d7529cc655fa5f0b95a..6492554d3096c783bcd4b8006744ddce63273503 100644 (file)
@@ -6,7 +6,7 @@ import java.util.*;
 public class ArrayFieldDeclaration {
 
     public static void main(String[] args) {
-        Tester.check(null != new C().f[0], "null != new C().f[0]");
+        //Tester.check(null != new C().f[0], "null != new C().f[0]");
     }
 }
 
@@ -14,5 +14,5 @@ class C {
 }
 
 aspect A {
-    Object C.f[] = new Object[] { "hello" };
+    Object C.f[] = new Object[] { "hello" };  //CE postfix [] syntax is illegal in inter-type decs
 }