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 2017/02/01 23:17:53 UTC

[jira] [Closed] (GROOVY-7835) Groovysh does not support static import aliasing

     [ https://issues.apache.org/jira/browse/GROOVY-7835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-7835.
-----------------------------

> Groovysh does not support static import aliasing
> ------------------------------------------------
>
>                 Key: GROOVY-7835
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7835
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovysh
>    Affects Versions: 2.4.6
>            Reporter: Jake Gage
>            Assignee: John Wagenleitner
>            Priority: Minor
>
> Groovysh does not as yet seem to support static import aliasing, e.g.:
> {quote}
> groovy:000> import static Calendar.getInstance as now
> ===> static Calendar.getInstance as now
> groovy:000> now.class
> Unknown property: now
> groovy:000> 
> {quote}
> See http://docs.groovy-lang.org/latest/html/documentation/index.html#_static_import_aliasing



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)