Created
July 6, 2012 19:59
-
-
Save ConnorWGarvey/3062436 to your computer and use it in GitHub Desktop.
When are map values evaluated in Groovy?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env groovy | |
def i = 1 | |
def map = [value:i] | |
i = i + 1 | |
println map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment