Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: astro_metadata_translator
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Arch 2019-03-18
-
Team:Architecture
Description
Shadowing can happen if you add en explicit translator method and forget to remove it from the constant or trivial mappings list. Check for this scenario and warn. Also check that const/trivial methods are not being inherited from a parent and overriding the versions defined in the current class.
Simon Krughoff I hope you can review this small change that improves consistency checking. You might be interested in the code that checks to see if a method has already been defined in the current class.