Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix .VAR, which in turn was causing problems deep in generic instanti…
…ation of attributes.
  • Loading branch information
jnthn committed Jul 9, 2011
1 parent 8ff1db3 commit c30f5f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ops/perl6.ops
Expand Up @@ -593,8 +593,7 @@ is just $2.
*/
inline op perl6_var(out PMC, in PMC) :base_core {
if ($2->vtable->base_type == smo_id && STABLE($2)->container_spec != NULL) {
$1 = Rakudo_cont_scalar_from_descriptor(interp, PMCNULL);
Rakudo_cont_store(interp, $1, $2, 0, 0);
$1 = Rakudo_cont_scalar_with_value_no_descriptor(interp, $2);
}
else {
$1 = $2;
Expand Down

0 comments on commit c30f5f3

Please sign in to comment.