Gaining karma by learning about_constants

* constant from the inheritance hierarchy takes
  precedence over the lexical scope in this case

[#54145829]