Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73405

QML engine should throw an exception if unexpected type is passed

    XMLWordPrintable

Details

    • 94d30df911dccd830a18d7c2e75397505ef9a600 (qt/qtdeclarative/5.12)

    Description

      Anything can be happily passed to a function which takes a value type from javascript code. Instead it should probably throw or print an error/warning. To reproduce run attached example.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes