Skip to content

Commit dbda1bf

Browse files
ginsbachsmowton
andauthored
Update docs/codeql/ql-language-reference/types.rst
Co-authored-by: Chris Smowton <[email protected]>
1 parent dbc95ca commit dbda1bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/codeql/ql-language-reference/types.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,7 @@ However, `foo_method` is not exposed in `Bar`, so the query `select any(Bar b).f
406406
results in a compile time error. Note from the example that it is still possible to access
407407
methods from instanceof supertypes from within the specialising class with the `super` keyword.
408408

409-
Crucially, the base class methods are not just hidden.
410-
Instead, the extension relationship is sewered.
409+
Crucially, the base class methods are not just hidden. The extension relationship is severed.
411410
This has deep implications on method resolution when complex class hierarchies are involved.
412411
The following example demonstrates this.
413412

0 commit comments

Comments
 (0)