Open amanjpro opened 11 years ago
Consider the following case:
class A { val b: A = new A }
class B { override val b: B = new B }
Q: What happens if we rename variable b in A? A: All occurrences of b in the child classes should be (legally) renamed. Q: What happens if we rename variable b in B? A: We should drop the override flag next to it.
Consider the following case:
class A { val b: A = new A }
class B { override val b: B = new B }
Q: What happens if we rename variable b in A? A: All occurrences of b in the child classes should be (legally) renamed. Q: What happens if we rename variable b in B? A: We should drop the override flag next to it.