In the test suite there are some tests like this:
is(1.WHAT, 'Int', '1 as a literal is an Int);

This seems to imply that we guarantee the direct type of literals. But
do we?

Actually I see no need for that. All my programs work fine if the
literal 1 is of type Foo, and Foo isa Int.

What's our policy on that? Will a 1.WHAT always return Int? do we
guarantee (1..4).WHAT always to be 'Range'?

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to