On Fri, 2005-10-07 at 12:49 +0200, Juerd wrote:
> Ashley Winters skribis 2005-10-06 19:30 (-0700):
> > > my Array $a = 97; # dies eventually, but when?
> > Runtime -- cannot coerce Int value to Array
> It is fully determinable at compile time. 97 will never be compatible
> with Array, so I see no reason to wait.
If I added a multisub for Array assignment so that assigning an integer
value set the length of the array, would 97 be compatible with Array?
> Do remember that some programs run for weeks or months, rather than a
> few seconds. It's nice to get all the certain failures during compile
How about in unreachable code (which I do actually believe compilers can
detect some of the time)?