Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.6.0
-
None
-
b54f42c41 (dev)
Description
When I try to import an invalid import URL, qmllint does not complain.
For example:
import "¯\(ツ)/¯:/invalid/url"
leads (only!) to the warning
Info: /Users/sami/tmp/untitled27/Main.qml:2:1: Unused import [unused-imports] import "¯\(ツ)/¯:/invalid/url" ^^^^^^
My guess would be that QQmlJSImportVisitor::visit(QQmlJS::AST::UiImport *import) does not do check the URL for validity
Attachments
Issue Links
- is required for
-
QTBUG-119890 qmllint warnings: reach feature parity with QtCreator
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-118074 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
512995,5 | qmllint: Add warnings to importFromHost | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
513758,11 | qmllint: Add warnings to importFromHost | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |