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

dynamic assign to table not working #1273

Open
oblomov-dev opened this issue Jul 26, 2023 · 1 comment
Open

dynamic assign to table not working #1273

oblomov-dev opened this issue Jul 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@oblomov-dev
Copy link

Not sure if this is on open-abap problem or abaplint, but my unit tests are not running:
https://github.com/abap2UI5/abap2UI5/actions/runs/5666941712/job/15354691155?pr=423

I am kind of sure it is because of this:

  FIELD-SYMBOLS <arg> TYPE STANDARD TABLE.
  ASSIGN ('SO_BODY->MR_ACTUAL->ARGUMENTS->*') TO <arg>.
   z2ui5_lcl_utility=>raise( when = xsdbool( sy-subrc <> 0 ) ).

https://github.com/abap2UI5/abap2UI5/blob/b89af85981459e91378a40495d35e7cff1d0062a/src/z2ui5_cl_http_handler.clas.locals_imp.abap#L1353

This was the last change i made.

@larshp larshp transferred this issue from abaplint/abaplint Jul 26, 2023
@larshp
Copy link
Member

larshp commented Jul 26, 2023

transferred to transpiler

there is a bug in https://github.com/abaplint/transpiler/blob/main/packages/runtime/src/statements/assign.ts, it doesnt handle multiple arrows ->

@larshp larshp added the bug Something isn't working label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants