Eric Milles created GROOVY-12704:
------------------------------------

             Summary: Get and set property on null object errors
                 Key: GROOVY-12704
                 URL: https://issues.apache.org/jira/browse/GROOVY-12704
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles
            Assignee: Eric Milles


[https://github.com/apache/groovy/pull/1767#issuecomment-6643075904]

{code:groovy}
foo = null
bar = 'baz'
foo."$bar"
{code}

This used to say "Cannot get property 'baz' on null object" but now runs into 
an unexpected NPE within the runtime.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to