Eric Milles created GROOVY-11362:
------------------------------------
Summary: implicit type of catch variable is written as Object
Key: GROOVY-11362
URL: https://issues.apache.org/jira/browse/GROOVY-11362
Project: Groovy
Issue Type: Bug
Components: Compiler
Reporter: Eric Milles
Assignee: Eric Milles
Consider the following:
{code:groovy}
void test(args) {
try {
args.name
} catch (e) {
print(e)
}
}
{code}
Set a breakpoint within the catch block and try to evaluate an expression with
"e" like: {{e.printStackTrtace()}}
The debugger complains that printStackTrace is not a method of Object.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)