You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Wagenleitner (JIRA)" <ji...@apache.org> on 2016/08/14 04:23:21 UTC
[jira] [Resolved] (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 ]
John Wagenleitner resolved GROOVY-7835.
---------------------------------------
Resolution: Not A Problem
Assignee: John Wagenleitner
> 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.4#6332)