def int i = 5 | |
def p = 5 | |
def foo(int p ) { | |
def k = 5 | |
pritnln p | |
} | |
class A{ | |
def foo() { | |
0 | |
def c = {preved -> preved} | |
def preved = 1 | |
<all>0<end> | |
} | |
} | |
----- | |
Introduced variable will conflict with local variable preved | |
Introduced variable will conflict with local variable preved | |
Introduced variable will conflict with parameter preved |