dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #4127] Java compiler bug


From: nobody
Subject: [Pnet-developers] [bug #4127] Java compiler bug
Date: Fri, 27 Jun 2003 23:54:10 -0400
User-agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021226 Debian/1.2.7-6

=================== BUG #4127: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4127&group_id=353

Submitted by: tetsuo                  Project: DotGNU Portable.NET          
Submitted on: Sat 06/28/03 at 03:54
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Java compiler bug

Original Submission:  For the second for loop, the compiler throws 
"ArraylistSample.java:18:
`i' is already declared in this scope", which it shouldn't since the
variable is within its proper scope.


public class ArraylistSample {
        public static void main (String[] args) {

                for (int i=0; i<10; i++) {
//bla
                }
                
                for (int i=0; i<10; i++) {
//bla
                }
        }
}




No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4127&group_id=353

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]