develooper Front page | perl.perl6.compiler | Postings from November 2011

[perl #105004] One can derive from Whatever in contradiction with S04

From:
Stephane Payrard
Date:
November 30, 2011 10:47
Subject:
[perl #105004] One can derive from Whatever in contradiction with S04
Message ID:
rt-3.6.HEAD-5084-1322678845-49.105004-82-0@perl.org
# New Ticket Created by  Stephane Payrard 
# Please include the string:  [perl #105004]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=105004 >


S04:1292  3c53f87 say "The C<Whatever> type is derived from C<Any> but
nothing elseis derived from it."I infer from it that deriving from it
should result in an error. This is not the case.

> class A is Whatever { }

A()

-- 
cognominal stef



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About