Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1845

qbs complaints falsely about self reference of a property

    XMLWordPrintable

Details

    • Linux/X11
    • c35a886db (3.0)

    Description

      Under some circumstances (see attached zip with a relative small example), qbs complaints about the self referencing property which in fact references the property from the parent project.

      I could only reproduce the error by using a SubProject. Using the references property of the parent project instead does not reveal the issue. See the comments in qbs3test.qbs from the attached archive.

      It looks like this error message come from the verification of the newly introduced m_evalStack in PropertyStackManager. In lines 538 - 550 of corelib/language/evaluator.cpp, the false self reference error is thrown. 

      Attachments

        1. qbs3test.zip
          3 kB
          Jochen Becher
        For Gerrit Dashboard: QBS-1845
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            gilead Jochen Becher
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes