mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Fix typo ql-design-patterns.md
Co-authored-by: Pavel Avgustinov <54942558+p0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c04e96453d
commit
14236709f6
@@ -20,7 +20,7 @@ abstract class MySpecialExpr extends Expr {
|
||||
class ConcreteSubclass extends MySpecialExpr { ... }
|
||||
```
|
||||
|
||||
While this allows users of the library to add new types of `MySpecialExpr` (like, in this case, `ConcreteSubclass), there is no way to override the implementations of `memberPredicate` of all extensions at once.
|
||||
While this allows users of the library to add new types of `MySpecialExpr` (like, in this case, `ConcreteSubclass`), there is no way to override the implementations of `memberPredicate` of all extensions at once.
|
||||
|
||||
Applying the `::Range` pattern yields the following:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user