Skip Menu |

This queue is for tickets about the Dios CPAN distribution.

Report information
The Basics
Id: 122701
Status: resolved
Priority: 0/
Queue: Dios

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

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



Subject: T & Dict[...] fail
Defining composite subtypes using & and Dict fails in Dios 0.002004 and PPR 0.000009. This occurred with perl 5.24.0. subtype Thing is Dict[foo, bar, ...]; subtype OtherThing is Thing & Dict[baz, bat...]; # syntax error at Your::Package line xyx, , near "& Dict[" Interestingly, this passes perl -wc: subtype Thing is Dict[foo, bar, ...]; subtype OtherThing is Dict[baz, bat...] & Thing; ...but fails when another package imports it with: Undefined subroutine &main::Thing called at Your/Package.pm line xyz. -- -Jeff Ober
Subject: Re: [rt.cpan.org #122701] T & Dict[...] fail
Date: Sat, 5 Aug 2017 01:02:27 +1000
To: bug-Dios [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Fixed in the latest release (wjich was just uploaded to CPAN). Many thanks, Jeff! Damian