summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2012-01-24 10:50:00 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2012-01-24 10:50:00 +0000
commit881c8659c4046dd886c6dc2f73a977c1e1907af8 (patch)
tree312bbc7b17f07a943eb833c24086d050a4ec285b
parentbetter leak tracing (diff)
downloaddata-multivalued-881c8659c4046dd886c6dc2f73a977c1e1907af8.tar.gz
data-multivalued-881c8659c4046dd886c6dc2f73a977c1e1907af8.tar.bz2
data-multivalued-881c8659c4046dd886c6dc2f73a977c1e1907af8.zip
reminder: immutable classes don't work
constructor gets inlined, defaults and constructor params don't go through the attribute special methods…
-rw-r--r--t/moose-tagged.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/moose-tagged.t b/t/moose-tagged.t
index 2493aff..1273bed 100644
--- a/t/moose-tagged.t
+++ b/t/moose-tagged.t
@@ -24,6 +24,9 @@ has other => (
predicate => 'has_other',
clearer => 'clear_other',
);
+
+#__PACKAGE__->meta->make_immutable;
+
}
package main;
use Test::Most 'die';