Skip Menu |

This queue is for tickets about the Dios CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: felix.ostmann [...] gmail.com
Cc:
AdminCc:

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



Subject: Typed attributes with key constraint are broken
From the documentation about typed attributes You can use any type supported by the Dios::Types module. $ perl -MDios -e 'class A { has Hash[ Str => Str ] %!B; }' Invalid has at -e line 1. Expected: has <type> <variable> <constraint> <traits> <handles> <init> but found: has Hash[ Str => Str ] %!B; } } Compilation failed at -e line 1.
Subject: Re: [rt.cpan.org #122797] Typed attributes with key constraint are broken
Date: Mon, 14 Aug 2017 13:41:29 +0200
To: bug-Dios [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Fixed in the latest release. Thanks, Felix!