• Christian Kamm's avatar
    QmlJS: Remove the strict separation of types and attached types. · 1d4cd9b7
    Christian Kamm authored
    The problem was that several lookup calls suddenly failed because
    the actual QML types were no longer in the default scope chain. However,
    the QML documentation says the type names are in the scope.
    Also, 'MyComponent.' in a JS-expression context only showed the attached
    properties of MyComponent and missed the enums.
    With this change completion now may offers too many options, but that's
    better than missing some.
    This reverts parts of 490f2797
    Reviewed-by: Leandro Melo