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 2016/03/08 03:14:40 UTC

[jira] [Updated] (GROOVY-7782) Different behavior of println and println()

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