https://bugs.kde.org/show_bug.cgi?id=386388

Aaron Puchert <aaronpuch...@alice-dsl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaronpuch...@alice-dsl.net

--- Comment #5 from Aaron Puchert <aaronpuch...@alice-dsl.net> ---
I think we need to restrict to project-specific and user-defined includes in
the constructor QmlJsParseJob::QmlJsParseJob. So replace

    IDefinesAndIncludesManager::manager()->includes(...)

by

    IDefinesAndIncludesManager::manager()->includes(...,
IDefinesAndIncludesManager::ProjectSpecific |
IDefinesAndIncludesManager::UserDefined)

The compiler-specific includes only make sense if we actually have a compiler
backend that can provide them. (Right now ICompiler is implemented by
NoCompiler, GccLikeCompiler, and MsvcCompiler - so no compiler for QML JS
here.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to