Well, a MethodError could mean a lot of other things (ie typo/poor test
coverage)


On Mon, Feb 24, 2014 at 7:27 AM, Steven G. Johnson <[email protected]>wrote:

> 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