Skip to content

Instantly share code, notes, and snippets.

@ConnorWGarvey
Created July 6, 2012 19:59
Show Gist options
  • Save ConnorWGarvey/3062436 to your computer and use it in GitHub Desktop.
Save ConnorWGarvey/3062436 to your computer and use it in GitHub Desktop.
When are map values evaluated in Groovy?
#! /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