[root]/groovy/groovy-core/src/test/gls/scope
* add a test to ensure the compiler complains when assigning a value to a class that is not declared as local variable before
9 lines of code changed in:
* test to ensure that a class can be used to statically access a method and the runtime does not try to resolve the name as variable
9 lines of code changed in:
extends the ability to check if a script is compileable and adds a test for static scopes. A static scope requires prefined variables if it is no class, field or property. A Closure is always a dynamic scope, even if the Closure is defined in a static method.
50 lines of code changed in:
Remove all @Property usage
2 lines of code changed in:
fixes the array naming scheme and ome more tests
2 lines of code changed in:
new test for multiple definitions of the same field in a class
19 lines of code changed in:
removed a useless test
1 lines of code changed in:
the start of a test to ensure that variables inside a block are not visible outside and that a change in a block will effect the outside if and only if the variable is from outside
23 lines of code changed in:
test to asure that variables can have the same name as classes
15 lines of code changed in:
some more scoping tests
29 lines of code changed in:
package name added
2 lines of code changed in:
first tests for the scoping
95 lines of code changed in: