Commit 4d66396c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlJsCheck: check for Behaivours and exclude them from duplicate check

parent 11002691
......@@ -433,7 +433,8 @@ bool Check::visit(UiObjectDefinition *ast)
bool Check::visit(UiObjectBinding *ast)
{
checkScopeObjectMember(ast->qualifiedId);
checkProperty(ast->qualifiedId);
if (!ast->hasOnToken)
checkProperty(ast->qualifiedId);
visitQmlObject(ast, ast->qualifiedTypeNameId, ast->initializer);
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment