You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/09/07 08:20:00 UTC

[jira] [Created] (GROOVY-8778) Constructor short-hand breaks for empty map

Paul King created GROOVY-8778:
---------------------------------

             Summary: Constructor short-hand breaks for empty map
                 Key: GROOVY-8778
                 URL: https://issues.apache.org/jira/browse/GROOVY-8778
             Project: Groovy
          Issue Type: Dependency upgrade
            Reporter: Paul King
            Assignee: Paul King


We support:
{code}
println Date[time:0]
def map = [time:0]
println Date[*:map]
map = [:]
println Date[*:map]
{code}
but not:
{code}
println Date[:]
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)