Ticket #810 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

PCT - PAST::Val::lvalue() passes through to 'value'

Reported by: Austin_Hastings Owned by: pmichaud
Priority: normal Milestone:
Component: PCT Version: 1.3.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

In PAST/Node.pir, line 165 (the one with 'tailcall'):

.sub 'lvalue' :method
    .param pmc value           :optional
    .param int has_value       :opt_flag
    unless has_value goto normal
    unless value goto normal
    die "Unable to set lvalue on PAST::Val node"
  normal:
    .tailcall self.'attr'('value', value, has_value)
.end

The attribute 'value' should be 'lvalue', I think.

Change History

Changed 5 years ago by pmichaud

  • status changed from new to assigned

Changed 5 years ago by pmichaud

  • status changed from assigned to closed
  • resolution set to fixed

Now fixed in r39894, thanks!

Pm

Note: See TracTickets for help on using tickets.