Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 84194
Status: rejected
Priority: 0/
Queue: Moose

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

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



Subject: Handking of white-spaces in conjunction with module names needs to be improved
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1364209418-9562-3"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 193
Download (untitled) / with headers
text/plain 193b
use MooseX::Declare; class Baz with (Foo, Bar) {}; Whitespace should be optional, it is NOT allowed after '(' nor before ')' but is optional around the ',' (where it is washed away). regards
Subject: bug.pl
MIME-Version: 1.0
Content-Type: text/x-perl; name="bug.pl"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="bug.pl"
Content-Transfer-Encoding: binary
Content-Length: 399
Download bug.pl
text/x-perl 399b
#!/usr/bin/env perl use MooseX::Declare; role Foo { } role Bar { } # class Baz with ( Foo, Bar ) { } # Foo is not a module name at ./bug.pl line 9. # ^leading space # class Baz with (Foo, Bar ) { } # Bar is not a module name at ./bug.pl line 12. # ^trailing space class Baz with (Foo, Bar) { } ## OK print $MooseX::Declare::VERSION,"\n"; # 0.35 print $Moose::Util::VERSION,"\n"; # 2.0604 1;
From autarch [...] urth.org Mon Mar 25 09: 58:03 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.619 tagged_above=-99.9 required=10 tests=[AWL=0.270, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001, T_FRT_ABSOLUT=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-9562-1364209420-405.84194-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-84194 [...] rt.cpan.org> <rt-3.8.HEAD-9562-1364209420-405.84194-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <alpine.DEB.2.00.1303250857280.25270 [...] urth.org>
X-Spam-Score: -6.619
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id CB7092406D5 for <cpan-bug+Moose [...] hipster.bestpractical.com>; Mon, 25 Mar 2013 09:58:03 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3xO10ZIMJcYS for <cpan-bug+Moose [...] hipster.bestpractical.com>; Mon, 25 Mar 2013 09:58:02 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9AA3B240177 for <bug-Moose [...] rt.cpan.org>; Mon, 25 Mar 2013 09:58:01 -0400 (EDT)
Received: (qmail 25803 invoked by uid 103); 25 Mar 2013 13:58:00 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 25 Mar 2013 13:58:00 -0000
Received: from urth.org (HELO urth.org) (173.11.48.50) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Mon, 25 Mar 2013 06:57:48 -0700
Received: by urth.org (Postfix, from userid 1000) id 41D941718F0; Mon, 25 Mar 2013 08:57:45 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1]) by urth.org (Postfix) with ESMTP id 078001718A7 for <bug-Moose [...] rt.cpan.org>; Mon, 25 Mar 2013 08:57:45 -0500 (CDT)
Delivered-To: cpan-bug+Moose [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #84194] Handking of white-spaces in conjunction with module names needs to be improved
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
Return-Path: <autarch [...] urth.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Moose [...] hipster.bestpractical.com
X-RT-Mail-Extension: moose
Date: Mon, 25 Mar 2013 08:57:44 -0500 (CDT)
X-Spam-Level:
To: Poul H. Sørensen via RT <bug-Moose [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
RT-Message-ID: <rt-3.8.HEAD-21665-1364219884-1680.84194-0-0 [...] rt.cpan.org>
Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT
Content-Length: 983
Download (untitled) / with headers
text/plain 983b
On Mon, 25 Mar 2013, Poul H. Sørensen via RT wrote: Show quoted text
> Mon Mar 25 07:03:39 2013: Request 84194 was acted upon. > Transaction: Ticket created by POULHS > Queue: Moose > Subject: Handking of white-spaces in conjunction with module names needs > to be improved > Broken in: 2.0604 > Severity: Normal > Owner: Nobody > Requestors: POULHS@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84194 > > > > use MooseX::Declare; > class Baz with (Foo, Bar) {}; > > Whitespace should be optional, it is NOT allowed after '(' nor before ')' but is optional around the ',' (where it is washed away).
This is almost certainly a bug in MooseX::Declare, not Moose. You should report it there. /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.