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)