Yes, yesterday I had the same method in both the child class and th parent class. It wasn't working in either class, but I think it was because it existed in both. I have since removed the meothod from the child class, and this is the sig dump:
2
0000: 1D 01 06 01 70 55 52 4C 11 01 25 4C 69 62 72 61 ....pURL..%Libra
0010: 72 79 2E 53 74 72 69 6E 67 02 01 02 01 1F 01 08 ry.String.......
0020: 01 73 69 6C 65 6E 74 11 01 25 4C 69 62 72 61 72 .silent..%Librar
0030: 79 2E 53 74 72 69 6E 67 02 01 02 01 y.String....
Interesting. Looks like just the two params now, and no doubles.
So, child classes cannot have the same javascript method name as a parent class? Oh wait, there's no overloading in Cache, so perhaps, even though that's more like overriding, it didn't work?
Can we open a discussion on child class properties? I added some to a mid-level class (it has a parent and a grandparent, and a bunch of children); when I added two properties to it, the grand-parent class was unable to retrieve a property correctly. When I remove the properties, the grand-parent class is fine. Seems similar to having a method in a parent class with the same name as a method in a child class.
- Log in to post comments
