From a000466044a97c1071827a652c901a948d9ace28 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Mon, 30 Dec 2002 20:31:11 +0000 Subject: [PATCH] fixed to match fact that this syntax is forbidden --- tests/new/ArrayFieldDeclaration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/new/ArrayFieldDeclaration.java b/tests/new/ArrayFieldDeclaration.java index fec447fb1..6492554d3 100644 --- a/tests/new/ArrayFieldDeclaration.java +++ b/tests/new/ArrayFieldDeclaration.java @@ -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 } -- 2.39.5