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

Exceptions thrown from Product properties cause the exception object to be returned

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P1: Critical
    • 1.0.1
    • None
    • General
    • None
    • 8fa6b40c272d5f10dde2f303d5a6f30893cc6df1

    Description

      Given:

      import qbs 1.0
      
      CppApplication {
          files: "test.c"
          name: { throw: "MyProductName"; }
      }
      

      Your product will be named MyProductName. The expected behavior is to exit with error.

      Attachments

        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: