Project

General

Profile

Bug #7316

regression in 'ACCUM ... extVar' expansion - subscript not emitted

Added by Constantin Asofiei about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#2 Updated by Constantin Asofiei about 1 year ago

  • % Done changed from 0 to 100
  • Assignee set to Constantin Asofiei
  • Status changed from New to Review

This test:

def var i as int.
def var j as int extent 5.
j = 1.

repeat i = 1 to 10:
    accumulate j (total).
end.

message accum total j[2].

def temp-table tt1 field f1 as int extent 5.

for each tt1:
   accumulate tt1.f1 (total).
end.

was not expanding the extent accum total j properly - as there is a subscript, it needs to emit a lambda for the accumulator expression.

Fixed in 7199c/14565

#3 Updated by Greg Shah about 1 year ago

  • Status changed from Review to Test

Code Review Task Branch 7199c Revision 14565

No objections.

#4 Updated by Constantin Asofiei 12 months ago

7199c was merged to trunk rev 14610 and archived

#5 Updated by Greg Shah 12 months ago

  • Status changed from Test to Closed

Also available in: Atom PDF