Also, you don’t have to go through a superclass method to see the
problematic behavior. You can simply use a subclass instance in a variable
of superclass type:

let subclass: MyClass = MySubclass()
subclass.doTheSecondThing()
// Prints “The 'DEFAULT' 2nd method”

Nevin
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to