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'?


Moritz Lenz |

Reply via email to