groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-7693) Error when trying to print negative number in console
Date Wed, 01 Feb 2017 23:17:53 GMT

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

Paul King closed GROOVY-7693.
-----------------------------

> Error when trying to print negative number in console
> -----------------------------------------------------
>
>                 Key: GROOVY-7693
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7693
>             Project: Groovy
>          Issue Type: Bug
>          Components: Groovy Console
>    Affects Versions: 2.4.5
>         Environment: OS: Mac OS X 10.11 and Debian GNU/Linux Jessie 8.0
> Java: JDK 7u80
> Groovy: 2.4.5
>            Reporter: Michael Chen
>            Assignee: Jochen Theodorou
>            Priority: Minor
>
> $ groovy -e 'println -3'
> Caught: groovy.lang.MissingPropertyException: No such property: println for class: script_from_command_line
> groovy.lang.MissingPropertyException: No such property: println for class: script_from_command_line
> 	at script_from_command_line.run(script_from_command_line:1)
> $ groovy -e 'println (-3)'
> -3
> This error occurred when written either in script file or on-the-fly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message