https://bugs.kde.org/show_bug.cgi?id=384418
Bug ID: 384418 Summary: import "." as Foo; does not work Product: kdevelop Version: 5.1.2 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: QML/JavaScript Assignee: kdevelop-bugs-n...@kde.org Reporter: ogoff...@kde.org Target Milestone: --- Testcase: import "." as Foo Foo.Bar {} // Where there is a Bar.qml in the current directory Foo.Bar is not recognized properly (cannot follow the symbol or auto-complete property). Note that `import "xxx/.." as Foo` works as expected. I suspect it is because the `node->fileName != QLatin1String(".")` condition in DeclarationBuilder::visit(QmlJS::AST::UiImport* node) in qmljs/duchain/declarationbuilder.cpp. -- You are receiving this mail because: You are watching all bug changes.