Skip Menu |

This queue is for tickets about the Params-Sah CPAN distribution.

Report information
The Basics
Id: 115009
Status: resolved
Priority: 0/
Queue: Params-Sah

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails with perl 5.23.x and newer
On Thu, 2 Jun 2016 19:21:54 GMT, SREZIC wrote: Show quoted text
> See the test reports overview: > http://matrix.cpantesters.org/?dist=Params-Sah%200.05
Fixed. This is actually a syntax error. commit 1fcbd58 Author: perlancar (@pc-office) <perlancar@gmail.com> Date: Fri Jun 3 11:30:50 2016 +0700 Fix syntax error in clause declaration (caught as a warning in perl >= 5.23, older perls doesn't spew any warning) diff --git a/lib/Data/Sah/Type/BaseType.pm b/lib/Data/Sah/Type/BaseType.pm index 2b361d4..28da32e 100644 --- a/lib/Data/Sah/Type/BaseType.pm +++ b/lib/Data/Sah/Type/BaseType.pm @@ -140,6 +140,7 @@ has_clause 'clause', ['sah::clname', {req=>1}, {}], ['any', {}, {}], ]}, {}], + ; has_clause 'clset', v => 2, prio => 50,