Had to make a change to an old app and found that Ariadna build #634 is now showing the following code as an error (not real code, just indicative of the error):
 
   public class ArrayTest {
      public String[][] _array = new String[3][2];
   }
 
The 2 is flagged as red with the status bar message stating that "] expected"
 
The compiler is happy with the code, however.
 
If the above is changed to:
 
   public class ArrayTest {
         public String[][] _array = new String[3][FUNK];
     
         private static final int FUNK = 2;
      }

the [FUNK] is flagged as an error with the message "Cannot resolve symbol FUNK"
 
Additionally, I believe the above was accepted in build #629 (the last time I had to tweak the code).
 
rob.
 

Reply via email to