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 22:00:00 UTC

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

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

Endre Stølsvik updated GROOVY-8335:
-----------------------------------
    Description: 
As a follow-up to GROOVY-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!*

  was:
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!*


> 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 GROOVY-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)