groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-8778) Constructor short-hand breaks for empty map
Date Fri, 07 Sep 2018 08:20:00 GMT
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)

Mime
View raw message