Update python/ql/src/Classes/SubclassShadowing/SubclassShadowing.ql

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Joe Farebrother
2025-07-31 06:05:48 +01:00
committed by GitHub
parent 71a6b22815
commit 79d1deb28d

View File

@@ -64,7 +64,7 @@ where
if isProperty(shadowed)
then
// it's not a setter, so it's a read-only property
extra = " (read-only property may cause an error if written to in the superclass.)"
extra = " (read-only property may cause an error if written to in the superclass)"
else extra = ""
)
select shadowed, "This method is shadowed by $@ in superclass $@." + extra, write,