Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 48850
Status: open
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: hdp [...] pobox.com
Cc:
AdminCc:

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



Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 8EDC219B8349 for <bugs-moose [...] rt.cpan.org>; Wed, 19 Aug 2009 15:05:44 -0400 (EDT)
Received: (qmail 26384 invoked by uid 103); 19 Aug 2009 19:05:44 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 19 Aug 2009 19:05:44 -0000
Received: from glaive.weftsoar.net (HELO glaive.weftsoar.net) (69.56.251.245) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Wed, 19 Aug 2009 12:05:37 -0700
Received: by glaive.weftsoar.net (Postfix, from userid 1000) id 0741D57F67; Wed, 19 Aug 2009 15:05:32 -0400 (EDT)
Delivered-To: cpan-bug+moose [...] diesel.bestpractical.com
User-Agent: Sup/0.8.1
Subject: immutable subclass, mutable parent, silent failures
X-Spam-Status: No, hits=0.0 required=8.0 tests=
Return-Path: <hdp [...] glaive.weftsoar.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bugs-moose [...] rt.cpan.org
Date: Wed, 19 Aug 2009 12:05:32 -0700
X-Spam-Level: *
Message-ID: <1250708660-sup-9984 [...] glaive>
Content-Type: text/plain; charset=UTF8
To: bugs-moose <bugs-moose [...] rt.cpan.org>
Content-Transfer-Encoding: 8bit
From: Hans Dieter Pearcey <hdp [...] pobox.com>
X-RT-Original-Encoding: utf-8
Content-Length: 384
Download (untitled) / with headers
text/plain 384b
It's confusing when someone does something like this: package Base; use Moose; use Subclass; has (...); package Subclass; use Moose; extends 'Base'; __PACKAGE__->meta->make_immutable; The subclass doesn't see any changes made to Base after 'use Subclass' (because it's immutable). This is fine, but we should try to tell those people they're doing it wrong. hdp.
MIME-Version: 1.0
In-Reply-To: <1250708660-sup-9984 [...] glaive>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <1250708660-sup-9984 [...] glaive>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-30163-1360293587-174.48850-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 567
Download (untitled) / with headers
text/plain 567b
On Wed Aug 19 15:06:00 2009, hdp@pobox.com wrote: Show quoted text
> It's confusing when someone does something like this: > > package Base; > use Moose; > use Subclass; > has (...); > > package Subclass; > use Moose; > extends 'Base'; > __PACKAGE__->meta->make_immutable; > > The subclass doesn't see any changes made to Base after 'use Subclass' > (because > it's immutable). This is fine, but we should try to tell those people > they're > doing it wrong. > > hdp.
Is there an easy way to test this that doesn't send the world into infinite recursion? -Chris


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.