-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.closed-obsoleteClosed as the reported issue is no longer relevantClosed as the reported issue is no longer relevant
Milestone
Description
I ran into this attempting to naively just parse back whatever we had generated for a date format. One of the valid date formats is just "day". So January 27, 2012, prints as "27". That ends up in an infinite recursion if you parse it. As does
main() {
var x = new Date(0,0,27,0,0,0,0,false);
print(x);
}
That's not, I think, a representable date if we're counting from 1970, but it still shouldn't crash the VM.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.closed-obsoleteClosed as the reported issue is no longer relevantClosed as the reported issue is no longer relevant