Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120000 Support semantic highlighting in QML language server
  3. QTBUG-124870

qtlanguageserver: qtypedjson::reader mismatchs the actual type of variant

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • None
    • None

    Description

      Encountered this while testingĀ  tst_qmlls_modules::SemanticHighlightingDelta. Although, the correct variant type (SemanticTokensDelta) is processed in the SemanticHighlightingDeltaHandler:process, the handler matches the first type (SemanticTokens) and doesn't try to match the second type in the variant.

      Investigate the method

      template<typename... T>
      void Reader::handleVariant(std::variant<T...> &el)

      Attachments

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

        Activity

          People

            semih.yavuz Semih Yavuz
            semih.yavuz Semih Yavuz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes