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

Rework QQmlJSScope::canAssign()

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • None
    • QML: Tooling
    • None

      QQmlJSScope::canAssign() acts as a type matching function between a property type and an object type. It seems to have issues at the moment:

      1. If the usage stays as it is, rather consider putting this function into QQmlJSMetaProperty
      2. String conversions must be handled eventually (currently they are ignored completely)
      3. The QQmlComponent check within the function feels wrong. Additionally, we should acknowledge implicit component types (types wrapped in QQmlComponent) when checking whether the types match

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

            qtqmlteam Qt Qml Team User
            agolubev Andrei Golubev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes