diff --git a/ql/test/queries/style/ImplicitThis/Good.qll b/ql/test/queries/style/ImplicitThis/Good.qll index 95b5f17f1de..35b8023b572 100644 --- a/ql/test/queries/style/ImplicitThis/Good.qll +++ b/ql/test/queries/style/ImplicitThis/Good.qll @@ -9,8 +9,13 @@ class Foo extends string { /* Okay because not a member predicate. */ string getBaz() { result = Baz::baz() } + + /* Okay because not a member predicate. */ + string getOuterQuux() { result = getQuux() } } +string getQuux() { result = "quux" } + module Baz { string baz() { result = "baz" } }