You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2021/03/12 17:42:07 UTC
[groovy] branch master updated: GROOVY-9882: match conditions for
NullPointerException
This is an automated email from the ASF dual-hosted git repository.
emilles pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 26806ea GROOVY-9882: match conditions for NullPointerException
26806ea is described below
commit 26806ea9b3a081908fa2e5a1d9240dd04bee2dce
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Fri Mar 12 11:41:56 2021 -0600
GROOVY-9882: match conditions for NullPointerException
---
src/test/groovy/bugs/Groovy9982.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/groovy/bugs/Groovy9982.groovy b/src/test/groovy/bugs/Groovy9982.groovy
index 629d0ae..3efb812 100644
--- a/src/test/groovy/bugs/Groovy9982.groovy
+++ b/src/test/groovy/bugs/Groovy9982.groovy
@@ -30,7 +30,7 @@ final class Groovy9982 {
def foo() { 'foo' }
}
class C extends A {
- def foo = 'bar'
+ def foo
def test() {
foo = foo() // do not want ScriptBytecodeAdapter#invokeClosure
foo