Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2619

for ( ; ite.hasNext() ; ) does not compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.5.4
    • 1.5.5, 1.6-beta-1
    • None
    • win xp/jdk 6/comman line + eclipse/groovy 1.5.4

    Description

      Next does not compile:

      for ( ; ite.hasNext() ; ) ... does not compile,
      but for ( int i = 0; ite.hasNext() ; ) is compiling. All antoher code is the same.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              tkassila Tuomas Kassila
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: