mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Add changenote.+ fix typo
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<overview>
|
||||
<p> When the signature of a method of a base class and a method of a subclass that overrides it don't match, a call to the base class method
|
||||
may not be a valid call to the subclass method, and thus raise an exception if an instance of the subclass is passed instead.
|
||||
If following the Liskov Substitution Principle, in which an instance of a subclass should be usable in every context as though it were a an
|
||||
If following the Liskov Substitution Principle, in which an instance of a subclass should be usable in every context as though it were an
|
||||
instance of the base class, this behavior breaks the principle.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* The `py/inheritance/signature-mismatch` query has been modernized. It produces more precise results and more descriptive alert messages.
|
||||
* The `py/inheritance/incorrect-overriding-signature` query has been deprecated. Its results have been consolidated into the `py/inheritance/signature-mismatch` query.
|
||||
Reference in New Issue
Block a user