You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Endre Stølsvik (JIRA)" <ji...@apache.org> on 2017/09/30 21:59:00 UTC

[jira] [Created] (GROOVY-8335) Statically typed file ending: "HelloWorld.groovys" is considered @CompileStatic

Endre Stølsvik created GROOVY-8335:
--------------------------------------

             Summary: Statically typed file ending: "HelloWorld.groovys" is considered @CompileStatic
                 Key: GROOVY-8335
                 URL: https://issues.apache.org/jira/browse/GROOVY-8335
             Project: Groovy
          Issue Type: Improvement
            Reporter: Endre Stølsvik


As a follow-up to JIRA-8329 _"Consider statically typed/compiled as default for Groovy 3.0"_, which got a somewhat lukewarm reception (!), I suggest adding a new file-ending to the groovy universe: "groovys" (or something else entirely, just a suggestion). A file with this ending is a Groovy-file, but is @CompileStatic - and any methods where one wants the dynamic features of Groovy must be tagged with @CompileDynamic.

*We'll get two languages in one!*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)