You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Maoxiang Qian (JIRA)" <ji...@apache.org> on 2016/03/07 17:02:40 UTC

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

Maoxiang Qian created GROOVY-7782:
-------------------------------------

             Summary: 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: Critical
             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)