@Fibonacci:
Yes, I mistakenly produced the wrong example because of how/why I ran into this. The foo and bar variables should have been named differently from the methods.
Though, as is it is still a pita. I ran into it changing the ancestor of a class I was working on and that caused a compilation failure because in that other ancestor there exist an method named update (which happened to be the same name of my local typed constant in the derived class). Why there not exist a solution to be able to address a variable local to a method. e.g. imho it makes more sense for a local variable to be local to the method and not to the class.
I still wonder what is actually meant with "A local typed constant behaves like a global initialized variable" because practice shows it isn't seen by the compiler as a global variable.