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

Paul King updated GROOVY-7782:
------------------------------
    Priority: Minor  (was: Critical)

> Different behavior of println and println()
> -------------------------------------------
>
>                 Key: GROOVY-7782
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7782
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>         Environment: Linux/windows
>            Reporter: Maoxiang Qian
>            Priority: Minor
>             Fix For: 2.4.5
>
>
> groovy> outLine=["a", "b"].join("\t") 
> groovy> println outLine 
> groovy> println(["a", "b"].join("\t")) 
> groovy> println ["a", "b"].join("\t") 
> a     b
> a     b
> Exception thrown
> groovy.lang.MissingPropertyException: No such property: println for class: 
> ConsoleScript2
>       at ConsoleScript2.run(ConsoleScript2:5)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to