Skip Menu |

This queue is for tickets about the types CPAN distribution.

Report information
The Basics
Id: 1339
Status: new
Priority: 0/
Queue: types

People
Owner: Nobody in particular
Requestors: pdcawley [...] bofh.org.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Implicit types
Consider the following. my int $foo = 1; my float $bar = 1.0; my $wibble = $foo / $bar; Right now, that's a compile error. Which is a shame, because $wibble is obviously a float. I propose that, in the presence of a 'use types qw/implicit/', the above code should not be a compile time error. However, later on in the code, my int $floop = $wibble; would throw a type exception.