]> source.dussan.org Git - aspectj.git/commitdiff
fixed illegal foward assignment not caught by 1.0.6
authorjhugunin <jhugunin>
Thu, 19 Dec 2002 21:45:13 +0000 (21:45 +0000)
committerjhugunin <jhugunin>
Thu, 19 Dec 2002 21:45:13 +0000 (21:45 +0000)
tests/new/AroundDoubleAssignmentC.java

index f1b13d63086123ed50c7860da44e159d192597e5..8127e57ac74bc61ec3bea3c712e69b96ab4a03bf 100644 (file)
@@ -70,7 +70,8 @@ public aspect AroundDoubleAssignmentC {
 
 class FieldInit {
     /** @testcase PR#687 around all execution with double assignment in initializer (fieldinit) */
-    String s = s = getString();
+    String s = getString();
+    { s = s; }
     String getString() { return "test".toString(); }
 }