Feedback
Reject Override declarations with incompatible inherited signatures
- Status
- Fixed
- Fixed in
- v26.10.4
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1400-analyser-doesnt-see-error-with-super-unknown-method-name
- Last updated
- 2026-10-30
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
An Override declaration can be accepted even when its parameter types do not match an inherited method. The analyser and compiler currently allow declarations with the same name and argument count but incompatible signatures. These declarations should produce a clear error, while valid overrides and distinct overloads continue to work.