File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ class Foo extends AstNode {
10
10
predicate baz ( ) { bar ( ) }
11
11
}
12
12
13
- class Sub extends Foo { }
13
+ class Sub extends Foo {
14
+ override predicate baz ( ) { not super .baz ( ) }
15
+ }
14
16
15
17
query predicate test2 ( ) { any ( Foo f ) .bar ( ) }
16
18
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ getTarget
6
6
| Baz.qll:8:18:8:44 | MemberCall | Baz.qll:4:10:4:24 | ClassPredicate getImportedPath |
7
7
| Foo.qll:5:26:5:30 | PredicateCall | Foo.qll:3:11:3:13 | ClasslessPredicate foo |
8
8
| Foo.qll:10:21:10:25 | PredicateCall | Foo.qll:8:13:8:15 | ClassPredicate bar |
9
- | Foo.qll:14:30 :14:40 | MemberCall | Foo.qll:10:13:10:15 | ClassPredicate baz |
9
+ | Foo.qll:14:34 :14:44 | MemberCall | Foo.qll:10:13:10:15 | ClassPredicate baz |
10
10
| Foo.qll:17:27:17:42 | MemberCall | Foo.qll:8:13:8:15 | ClassPredicate bar |
11
11
| Foo.qll:29:5:29:16 | PredicateCall | Foo.qll:20:13:20:20 | ClasslessPredicate myThing2 |
12
12
| Foo.qll:29:5:29:16 | PredicateCall | Foo.qll:26:13:26:18 | ClasslessPredicate alias2 |
You can’t perform that action at this time.
0 commit comments