History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2444
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Russel Winder
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

list of string output format changed between 1.5.0 and 1.5.1

Created: 25/Dec/07 10:04 AM   Updated: 04/Jan/08 10:47 AM
Component/s: None
Affects Version/s: 1.5.1
Fix Version/s: 1.5.2

Time Tracking:
Not Specified

Environment: Ubuntu 7.10, Groovy r10022
Issue Links:
Related
 


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul King - 25/Dec/07 01:32 PM
Please see GROOVY-2331, we just need to marry up these conflicting requests.

Russel Winder - 04/Jan/08 10:47 AM
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.