Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Example:
import org.apache.commons.logging.LogFactory class Foo { private static final LOG = LogFactory.getLog(this) @groovy.transform.CompileStatic static foo() { def bar = 1 LOG.debug "number is $bar" } }
Produces
[Static type checking] - Cannot find matching method java.lang.Object#debug(groovy.lang.GString)
at line: 9, column: 9