You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/12/16 18:05:00 UTC
[jira] [Created] (GROOVY-10417) MethodNode toString() could add quotes when name contains spaces (or other non-identifier characters)
Eric Milles created GROOVY-10417:
------------------------------------
Summary: 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
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)