On Thu, May 30, 2013 at 03:12:02AM -0700, Carl Mäsak via RT wrote:
> masak (>>), coke (>):
> > > <masak> r: say Date.new(-13_000_000_000, 1, 1)
> > > <p6eval> rakudo cc1858: OUTPUT«-115098112-01-01␤»
> > > <masak> o.O
> > > <masak> I suppose -115098112 above is a bug?
> > 
> > This seems consistent with trying to use a value that is too big for
> > an Int (which $.year is); are
> > you arguing that this should throw an error, that an Int $.year should
> > autopromote to something
> > else, or that $.year should be declared as something else?

How is it possible for a value to be "too big for an Int"?  Could this
be rephrased or re-analyzed somehow?

Pm

Reply via email to