This is an automated email from the ASF dual-hosted git repository. paulk pushed a change to branch GROOVY_2_5_X in repository https://gitbox.apache.org/repos/asf/groovy.git.
from f71ddf6 GROOVY-8873: Fails at runtime with @CompileStatic and two nested with statements with ClassCastException (closes #854) new 8ab86fe GROOVY-7996: Using with method with a closure that references a protected property produces ClassCastException (closes #857) new 15c6834 GROOVY-8073/GROOVY-7687: add test cases for additional cases fixed by GROOVY-7996 The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../VariableExpressionTransformer.java | 9 ++- .../transform/stc/StaticTypeCheckingVisitor.java | 26 ++++++- src/test/groovy/bugs/Groovy7996Bug.groovy | 88 ++++++++++++++++++++++ 3 files changed, 118 insertions(+), 5 deletions(-) create mode 100644 src/test/groovy/bugs/Groovy7996Bug.groovy