Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: map.@size doesn't work. removed

...

  • Maps override the dot operator, so myMap.size will return null unless you have a value for map[size]. Use map.size() or map.@size instead.
  • In map literals, all keys are interpreted as strings by default! If you want to use a variable or other literal as a key, use parentheses like so: myMap = [(var1):val, (var2):val]
  • See the Maps user guide