Are you proposing to add this to CompilerConfiguration.DEFAULT or somewhere
else?
Hi Guillaume,
Here is the idea in my mind, i.e. we can configure the
CompilerConfiguration instance to add default imports ;-)
```
def config = new CompilerConfiguration()
def imports = new ImportCustomizer()
imports.addImports(
'groovy.transform.TypeC
-
*From:* Daniel.Sun mailto:sun...@apache.org>>
*Sent:* Sunday, October 27, 2019 9:39 PM
*To:* d...@groovy.incubator.apache.org
<mailto:d...@groovy.incubator.apache.org>
mailto:d...@groovy.incubator.apache.org>>
*Subject:* Re: [GEP] Import `TypeChecke
Greoovy 3.0, yes, but surely there will be a Groovy 3.1 ?-)
On 28/10/2019 03:39, Daniel.Sun wrote:
Hi mg,
Groovy 3 is already in RC phase, so its features are frozen. New
features are targeted to next version.
Cheers,
Daniel.Sun
-
Apache Groovy committer & PMC member
Blog: http:/
it was quickly removed (commented out).
From: Guillaume Laforge
Sent: Monday, October 28, 2019 9:57 AM
To: Groovy_Developers
Subject: Re: [GEP] Import `TypeChecked`, `CompileStatic` and `CompileDynamic`
by default
Interestingly, historically, we've gone the
ubator.apache.org
> *Subject:* Re: [GEP] Import `TypeChecked`, `CompileStatic` and
> `CompileDynamic` by default
>
> Hi mg,
>
> Groovy 3 is already in RC phase, so its features are frozen. New
> features are targeted to next version.
>
> Cheers,
> Daniel.Sun
>
>
>
9 9:39 PM
To: d...@groovy.incubator.apache.org
Subject: Re: [GEP] Import `TypeChecked`, `CompileStatic` and `CompileDynamic`
by default
Hi mg,
Groovy 3 is already in RC phase, so its features are frozen. New
features are targeted to next version.
Cheers,
Daniel.Sun
-
Apache Groovy committ
Hi mg,
Groovy 3 is already in RC phase, so its features are frozen. New
features are targeted to next version.
Cheers,
Daniel.Sun
-
Apache Groovy committer & PMC member
Blog: http://blog.sunlan.me
Twitter: @daniel_sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f3
HI Daniel,
I don't know if this would have any negative side effects/consequences,
but purely from a user's perspective this sounds like a good idea G-)
Cheers,
mg
PS: Why Groovy 4 and not 3 ?
On 27/10/2019 11:08, Daniel.Sun wrote:
Hi all,
As static groovy is widely used, import
Hi all,
As static groovy is widely used, importing
`groovy.transform.TypeChecked`, `groovy.transform.CompileStatic` and
`groovy.transform.CompileDynamic` again and again makes user experience not
very good. So I propose to import the classes by default. For example,
After GEP accepted:
``
10 matches
Mail list logo