protected static def getGeneratedFileNames() { | |
foo = 0 | |
while (true) { | |
foo = <selection>test</selection>() | |
} | |
int t = foo | |
} | |
static String test() { | |
foo = 42; | |
println(foo) | |
return foo | |
} | |
----- | |
protected static def getGeneratedFileNames() { | |
foo = 0 | |
while (true) { | |
foo = 42 | |
println(foo) | |
foo = foo | |
} | |
int t = foo | |
} | |
static String test() { | |
foo = 42; | |
println(foo) | |
return foo | |
} |