Skip Menu |

This queue is for tickets about the Class-Meta-Declare CPAN distribution.

Report information
The Basics
Id: 87256
Status: new
Priority: 0/
Queue: Class-Meta-Declare

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

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



Subject: [PATCH] wrong return precedence
returns binds stronger than or, so the expressions after or are ignored. See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802
Subject: Class-Meta-Declare-0.04-returnor.patch
diff -bu Class-Meta-Declare-0.04-QtHANg/lib/Class/Meta/Declare.pm~ Class-Meta-Declare-0.04-QtHANg/lib/Class/Meta/Declare.pm --- Class-Meta-Declare-0.04-QtHANg/lib/Class/Meta/Declare.pm~ 2006-08-20 04:41:37.000000000 -0500 +++ Class-Meta-Declare-0.04-QtHANg/lib/Class/Meta/Declare.pm 2013-07-24 10:52:01.329104215 -0500 @@ -504,7 +504,7 @@ undef $call_pack if $call_pack->isa(__PACKAGE__); } return $call_pack - or $self->_croak("Could not determine package"); + || $self->_croak("Could not determine package"); } sub _add_constructors {