Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

case of INTO matters #179

Closed
christianguenter2 opened this issue Sep 7, 2022 · 4 comments
Closed

case of INTO matters #179

christianguenter2 opened this issue Sep 7, 2022 · 4 comments
Assignees

Comments

@christianguenter2
Copy link

ITAB AGGREGATION

LOOP AT initial_numbers REFERENCE into DATA(line).

ENDLOOP.

gives error
TypeError: line.assign is not a function
at zcl_itab_aggregation.perform_aggregation (file:///tmp/exercism-abap-runner-SK8YjS/compiled/zcl_itab_aggregation.clas.mjs:18:12)
at ltcl_itab_aggregation.one_row (file:///tmp/exercism-abap-runner-SK8YjS/compiled/zcl_itab_aggregation.clas.testclasses.mjs:59:89)
at Function.run (file:///tmp/exercism-abap-runner-SK8YjS/compiled/kernel_unit_runner.clas.mjs:128:77)
at async run (file:///tmp/exercism-abap-runner-SK8YjS/compiled/_unit_open.mjs:53:17)

while this runs (note the uppercase INTO)

LOOP AT initial_numbers REFERENCE INTO DATA(line).

ENDLOOP.

This error only occurs when REFERENCE is used.

@larshp larshp self-assigned this Sep 7, 2022
@larshp
Copy link
Member

larshp commented Sep 7, 2022

bug in downport, abaplint/abaplint#2674

@larshp
Copy link
Member

larshp commented Sep 7, 2022

@larshp larshp assigned christianguenter2 and unassigned larshp Sep 7, 2022
@larshp
Copy link
Member

larshp commented Sep 7, 2022

@christianguenter2 try again, downport updated

@christianguenter2
Copy link
Author

christianguenter2 commented Sep 7, 2022

works 👍
closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants