IDEA-177330 @CompileStatic multiple assignment in variable definition should be red

This commit is contained in:
alexey.afanasiev
2017-08-16 13:57:29 +03:00
parent cdb7c9ad0b
commit 20b9e573d5
@@ -67,8 +67,8 @@ import groovy.transform.CompileStatic
@CompileStatic
def foo() {
def storedList = bar()
def (a, b) = [storedList[0], storedList[1]]
def list = bar()
def (a, b) = [list[0], list[1]]
}
def bar() { [] }