Skip Menu |

This queue is for tickets about the Type-Tiny CPAN distribution.

Report information
The Basics
Id: 121763
Status: resolved
Priority: 0/
Queue: Type-Tiny

People
Owner: perl [...] toby.ink
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: Sometimes "explain" is missing from Error::TypeTiny::Assertion
So this is caused by the first Dict[key=>Int] having been garbage collected by the time the sub gets called, so when the error message is generated, all that is known is the string name of the type. I could prevent types from getting garbage collected if they're used by Type::Params, I guess.
Not sure if I like it, but patched in repo.
Fixed in Type::Tiny 1.007_xxx.