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

groovysh file commands provide ambiguous output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0-beta-1
    • Groovysh
    • None

    Description

      e.g.:

      :load 'foo'
      File not found: 'foo'

      Better error message would be
      File not found: "'foo'"

      Since the command treats the hyphens as part of the filename (expression after :load is not evaluated).
      At least the debug message should be changed. Possibly the arguments to the command should be validated, and possibly even evaluated. Though I won't implement evaluation for now, as benefits are slim.

      Attachments

        Activity

          People

            pschumacher Pascal Schumacher
            tkruse Thibault Kruse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: