Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.6, 2.4.0-beta-3
-
None
-
None
Description
This code:
def foo(String a, String b) {} @groovy.transform.CompileStatic def bar() { foo("${'foo'}".stripIndent(), 'UTF-8') } bar()
fails with:
[Static type checking] - Cannot find matching method ConsoleScript30#foo(java.lang.CharSequence, java.lang.String)