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

David Richter updated GROOVY-10396:
-----------------------------------
    Description: 
Static import for custom implementation of println method is not used neither 
as ImportCustomizer of directly written in the script since Groovy version 2.5.1

The problem is mainly inside static methods as in instance methods there are 
different ways to achieve having custom println implementation.

Maybe caused by: https://issues.apache.org/jira/browse/GROOVY-8389

Reproducer project: [https://github.com/Dave562CZ/groovy-import-bug]

  was:
Static import for custom implementation of println method is not used neither 
as ImportCustomizer of directly written in the script since Groovy version 2.5.1

Maybe caused by: https://issues.apache.org/jira/browse/GROOVY-8389



Reproducer project: https://github.com/Dave562CZ/groovy-import-bug


> Static import is not applied for custom println method since 2.5.1
> ------------------------------------------------------------------
>
>                 Key: GROOVY-10396
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10396
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.5.1, 3.0.9
>            Reporter: David Richter
>            Priority: Major
>
> Static import for custom implementation of println method is not used neither 
> as ImportCustomizer of directly written in the script since Groovy version 
> 2.5.1
> The problem is mainly inside static methods as in instance methods there are 
> different ways to achieve having custom println implementation.
> Maybe caused by: https://issues.apache.org/jira/browse/GROOVY-8389
> Reproducer project: [https://github.com/Dave562CZ/groovy-import-bug]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to