This single line of code also gives us shared hash key optimisa-
tions for free.
case OP_HSLICE:
S_scalar_slice_warning(aTHX_ o);
+ case OP_KVHSLICE:
if (/* I bet there's always a pushmark... */
(kid = cLISTOPo->op_first->op_sibling)->op_type != OP_LIST
&& kid->op_type != OP_CONST)
EXPECT
No such class field "a" in variable $f of type main at - line 3.
########
+# NAME OP_KVHSLICE fields
+BEGIN { %FIELDS = qw(a 1 b 1); }
+my main $f;
+%$f{"a","c"};
+EXPECT
+No such class field "c" in variable $f of type main at - line 3.
+########
# NAME delete BAD
delete $x;
EXPECT