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 2021/12/23 22:40:00 UTC

[jira] [Resolved] (GROOVY-10417) MethodNode toString() could add quotes when name contains spaces (or other non-identifier characters)

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

Paul King resolved GROOVY-10417.
--------------------------------
    Fix Version/s: 4.0.0-rc-2
         Assignee: Paul King
       Resolution: Fixed

> MethodNode toString() could add quotes when name contains spaces (or other non-identifier characters)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-10417
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10417
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Eric Milles
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-rc-2
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Consider the following:
> {code:groovy}
> class C {
>   def 'should do something we need'() {
>   }
> }
> {code}
> When this method is viewed in debugger, the toString() looks like "org.codehaus.groovy.ast.MethodNode@129e3742[java.lang.Object should do something we need() from C]".  Some delimeter (quotes or whatever) could be included around the name to help set it off from the rest of the string.



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