JS: change alert location for js/incomplete-object-initialization

This commit is contained in:
Esben Sparre Andreasen
2018-08-08 10:29:56 +02:00
parent 1a5585c83c
commit e1947f04df
4 changed files with 23 additions and 13 deletions

View File

@@ -59,4 +59,4 @@ where needsGuard(e, kind) and unguarded(e, ctor) and
sc.getBinder() = ctor and
sc.getEnclosingFunction() != ctor
)
select e, "The super constructor must be called before using '" + kind + "'."
select ctor, "The super constructor must be called before using '$@'.", e, kind