We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found = in conditional, should be ==
I'm using inlined coercions in Mandel.
Using Perl 5.18.2 on Ubuntu 14.04, it causes warnings while coercing type Dict.
Dict
This test show the warning:
use strict; use warnings; use Types::Standard -all; my $value = { key => 'value' }; my $type = Dict[key => Str]; eval $type->coercion->inline_coercion('$value');
I've print out the inlined code, seems the warning caused here:
($new{"key"}=$tmp) : ($return_orig=1 and last DICTLABEL1)
Till now, I have to disable warnings when eval the inlined code. Would you fix it?
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Generally speaking, Type::Tiny does evaluate the code in a sandbox where strict is enabled but warnings are not.
No branches or pull requests
I'm using inlined coercions in Mandel.
Using Perl 5.18.2 on Ubuntu 14.04, it causes warnings while coercing type
Dict
.This test show the warning:
I've print out the inlined code, seems the warning caused here:
Till now, I have to disable warnings when eval the inlined code. Would you fix it?
The text was updated successfully, but these errors were encountered: