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

Provide method to merge two QQmlJS::SourceLocations

XMLWordPrintable

      We make have use of SourceLocations to report errors in qmllint/qmlsc. One thing we currently lack there is a way to merge/unite two source locations, which is helpful for reporting errors in sub-parts of sub-trees of the AST, which are spanned by one element's firstSourceLocation and another elements lastSourceLocation.

       

      We should add a merge/unite function to SourceLocation.

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

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes