Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9317

Value record missing for assert on field expression

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-rc-3
    • Component/s: None
    • Labels:
      None

      Description

      Consider the following:

      class C {
        private Object field
        void test() {
          assert this.@field != null
        }
      }
      new C().test()
      

      When executed, the assert is displayed as follows (value for field expression is missing):

      assert this.@field != null
                         |
                         false
      

        Attachments

          Activity

            People

            • Assignee:
              emilles Eric Milles
              Reporter:
              emilles Eric Milles
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: