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/04/13 07:05:00 UTC

[jira] [Commented] (GROOVY-8543) Support setting compileStatic by default via system properties

    [ https://issues.apache.org/jira/browse/GROOVY-8543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436929#comment-16436929 ] 

Paul King commented on GROOVY-8543:
-----------------------------------

I am not a big fan of the current implementation. Our normal approach for customizing the compilation process is to use CompilerConfiguration or a CompilationCustomizer, Doesn't having a single static global prohibits any extensions along these lines?

> Support setting compileStatic by default via system properties
> --------------------------------------------------------------
>
>                 Key: GROOVY-8543
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8543
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.0-alpha-2, 2.6.0-alpha-4
>
>
> Enable compile static by default via `-Dgroovy.compile.static.by.default=true`



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