Overriding a method from a parent type using tilde notation (~)

#1

"If you want to override a method using the exact same signature, you can use the ~ syntax:

abstract type FMean mixes Mean {
f: private member function(x: !double): !double
}

type ArithmeticMean mixes FMean {
f: ~
}

Want to know more? See the in-depth article ““Method Declaration”” in the c3 server online documentation for more details
(note, embed hyperlink to link to article: http://VANITY_URL/api/1/c3/c3/documentation/topic/methods) "

0 Likes