Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
2.0.2
-
None
-
OSX Java 1.6 Snow Leopard
Description
import groovy.transform.CompileStatic @CompileStatic class demo { @CompileStatic(SKIP) def fib_dynamic(i) { i < 2 ? 1 : fib_dynamic(i - 2) + fib_dynamic(i - 1) } }
[Static type checking] - The variable [SKIP] is undeclared.
at line: 5, column: 20
I'm not sure what else I'd need to do - everything I find on skipping a method shows this as the way to do it, but SKIP is 'undeclared'. ?