groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saravanan Palanichamy <>
Subject IDE support for multi assignment statements
Date Fri, 11 Dec 2020 05:54:19 GMT

I am using Groovy 3.0.5 and it supports multiple assignment statements from tuples when using
static compile

    def(var1, var2) = Tuple.tuple("a", 1)

but it looks like the Intellij IDE still calls this out as a compile error. Also it defaults
to identifying var1 and var2 as objects. This hinders code completion in subsequent code.
Is this an issue for anyone else? or do I just have to upgrade my IDE? 

View raw message