transpiler icon indicating copy to clipboard operation
transpiler copied to clipboard

Exercism(secret_handshake): Unexpected token

Open mbtools opened this issue 1 month ago • 1 comments

CI failing on this class:

https://github.com/exercism/abap/actions/runs/19519786228?pr=337

https://github.com/exercism/abap/blob/main/exercises/practice/secret-handshake/.meta/zcl_secret_handshake.clas.abap

This add an extra ) to the transpiled code:

IF binary_code BIT-AND CONV xstring( 16 ) > binary_zero.

This works:

DATA(x) = CONV xstring( 16 ).
IF binary_code BIT-AND x > binary_zero.

mbtools avatar Nov 19 '25 23:11 mbtools