this OPf_SPECIAL was bollocks. remove it.
matthewt [Tue, 3 Jun 2008 07:27:46 +0000 (07:27 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-Declare@4459 bd8105ee-0ff8-0310-8827-fb3f25b6796d

Changes
Declare.xs

diff --git a/Changes b/Changes
index ba8499c..f3f8bc0 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 Changes for Devel-Declare
 
+  - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
   - fix traits code to work on older 5.8.x perls
 
 0.001008
index 938c25c..ade77c8 100644 (file)
@@ -296,7 +296,6 @@ OP* dd_pp_entereval(pTHX) {
 
 STATIC OP *dd_ck_entereval(pTHX_ OP *o) {
   o = dd_old_ck_entereval(aTHX_ o); /* let the original do its job */
-  o->op_flags |= OPf_SPECIAL;
   o->op_ppaddr = dd_pp_entereval;
   return o;
 }