mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-177330 @CompileStatic multiple assignment in variable definition should be red
This commit is contained in:
+2
-2
@@ -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() { [] }
|
||||
|
||||
Reference in New Issue
Block a user