On Monday, February 24, 2014 9:55:33 AM UTC-5, Iain Dunning wrote:
>
> One way to do it is
>
> abstract Parent
>
> method1(p::Parent) = error("Children must implement this or face an 
> error!")
>>
>>
>>>>
How is this better than just deleting the method1(::Parent) method, in 
which case you will get a MethodError if one attempts to call it on a child 
type?


Reply via email to