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

Maybe change the error message for missing colons?

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes