Remove usage of object
return type for getCloneParameters
#898
Labels
code quality
Improvements to code quality
Uh oh!
There was an error while loading. Please reload this page.
Currently,
getCloneParameters
has a weak type because it needs to be used increateContinuousRangeTarget
,cloneWith
, andisEqual
. We'd like to move these 3 consumer functions into the derived classes, and instead have them call polymorphic implementations. That way we get strong types via template specialisation while still avoiding code duplicationNote that strong typing here would have caught at least two different bugs, eg #895
The text was updated successfully, but these errors were encountered: