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
-