[ 
https://issues.apache.org/jira/browse/GROOVY-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463195#comment-17463195
 ] 

Paul King commented on GROOVY-10417:
------------------------------------

Is something like this what you had in mind:
https://github.com/apache/groovy/pull/1666

> 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
>            Priority: Major
>          Time Spent: 10m
>  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)

Reply via email to