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

DarwinGCC.qbs:48:45 TypeError: Result of expression 'product.type' [undefined] is not an object.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1.0
    • 1.1.0
    • General
    • None
    • e10ffda902e15e998593f4870195e257864034ad

    Description

      No such expression on that line. Obviously this indicates bugs in error handling not giving the right source location, too.

      The cause of this problem was that I had a Product which depended on Qt and whose type was not set. Shouldn't the default Product type be [], not undefined? There should be a better error message for something like this.

      Attachments

        For Gerrit Dashboard: QBS-429
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes