ajwang / groovypptest

Automatically exported from code.google.com/p/groovypptest
0 stars 0 forks source link

Groovy:Cannot convert String to GString #382

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

The following code report a error:Cannot convert String to GString.

{{{
@Typed
class TestExpr {

    public static void main(String[] args) {
        GString str = null

        str = """Hello ${args.length}}""";
        println(str)
    }

}
}}}

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
groovypp-0.4.250_1.7.10

Original issue reported on code.google.com by wangzaix...@gmail.com on 7 Jun 2011 at 2:30