You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2019/11/24 01:36:00 UTC

[jira] [Created] (GROOVY-9317) Value record missing for assert on field expression

Eric Milles created GROOVY-9317:
-----------------------------------

             Summary: Value record missing for assert on field expression
                 Key: GROOVY-9317
                 URL: https://issues.apache.org/jira/browse/GROOVY-9317
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles


Consider the following:
{code:groovy}
class C {
  private Object field
  void test() {
    assert this.@field != null
  }
}
new C().test()
{code}

When executed, the assert is displayed as follows (value for field expression is missing):
{code}
assert this.@field != null
                   |
                   false
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)