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

Maybe change the error message for missing colons?

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P4: Low
    • 1.8.0
    • None
    • General
    • None
    • 24b7b54891d206dbc0bbe8a5058a6adfbc3655ba

    Description

      Prior to some point during this year, qbs treated this code without producing an error:

      cpp.dynamicLibraries { name: "user32" }
      

      Anyone having this typo (missed colon) in the source code would see it compile just fine back then. Now, qbs does NOT treat this as a valid code and it would be helpful if it said "missing colon" instead of "Unexpected item type 'cpp'."

      This mistake above is really not helping anyone who tries to understand why the project file won't load correctly and it's incredibly easy to miss the missing colon too. If qbs could better pinpoint the source of the error it would be of great help.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            zekses Nikolai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes