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

Should parse parenthesis and bracket after newline correctly

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.4
    • None
    • parser
    • None

    Description

      For example, this should compile correctly. Current groovy parser forces coding style format which is not the one we choose when we code Java. 

      import java.io.*;
      import groovy.io.*;
      def dir = new File("C:\\");
      dir.eachFileRecurse
      (    
          f
          ->
          println(f.name)
      );
      

      groovy.lang.MissingPropertyException: No such property: eachFileRecurse for class: java.io.File

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ldelaprade Laurent RICHARD de LAPRADE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: