Project

General

Profile

Bug #2062

buffer parameter names doubled up, not included in RecordBuffer.openScope() call

Added by Eric Faulhaber about 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
02/26/2013
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:

ecf_upd20130226b.zip (6.56 KB) Eric Faulhaber, 02/27/2013 12:07 AM

History

#1 Updated by Eric Faulhaber about 11 years ago

The following test:

def temp-table tt field f1 as integer.

define parameter buffer buf for book.
define parameter buffer tt1 for tt.

is converted to:

public void execute(final Book.Buf bufbuf, final TempRecord1.Buf tt1tt1)

In addition, buf and tt1 are not emitted into a RecordBuffer.openScope() call inside the execute method.

The problem was a BUFFER_SCOPE node was creating a java REFERENCE node for the buffer as a child of the parameter's REFERENCE_DEF, rather than the RecordBuffer.openScope STATIC_METHOD_CALL.

Fixed in the attached update, which has passed conversion regression testing. Committed to bzr revision 10217.

#2 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 4 to Conversion Support for Server Features

Also available in: Atom PDF