groovy

list of string output format changed between 1.5.0 and 1.5.1

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.5.2
  • Component/s: None
  • Labels:
    None
  • Environment:
    Ubuntu 7.10, Groovy r10022
  • Number of attachments :
    0

Description

In Groovy 1.5.0 the script:

def x = [ 'hello' ] ; println ( x )

outputs:

["hello"]

In Subversion HEAD r10022 and I assume Groovy 1.5.1, the same scripts outputs:

[hello]

I think this is an erroneous as well as breaking change.

Issue Links

Activity

Hide
Paul King added a comment -

Please see GROOVY-2331, we just need to marry up these conflicting requests.

Show
Paul King added a comment - Please see GROOVY-2331, we just need to marry up these conflicting requests.
Hide
Russel Winder added a comment -

It appears everyone is happy that this minor breaking change goes through. The main winning argument being consistency with Java.

I have amended the Gant tests to work with the new output syntax.

Show
Russel Winder added a comment - It appears everyone is happy that this minor breaking change goes through. The main winning argument being consistency with Java. I have amended the Gant tests to work with the new output syntax.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: