Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-rc-3
-
None
Description
The following code:
import groovy.transform.CompileStatic @CompileStatic File foo() { try { } catch(e) { handleError(e) } } def handleError(Throwable e) { println e.message }
Fails to compile with:
[Static type checking] - Cannot find matching method ConsoleScript2#handleError(java.lang.Object)
at line: 8, column: 8