Conversation
|
|
|
raising non class based exceptions is not implemented, and I dont think it will be anytime soon suggest refactoring to a class based exception |
Hmm, yeah, I don't remember why I did like that in the first place |
|
Nice, it compiles ! |
|
Looks like an operator is missing ? ro_parser.get().mt_components.set(await abap.Classes['ZCL_TEXT2TAB_UTILS'].describe_struct({i_struc: ro_parser.get().mo_struc_descr, i_is_deep: abap.builtin.boolc(abap.compare.initial(i_deep_provider) === false), i_ignore_nonflat: i_ignore_nonflat}));
if ((abap.compare.initial(i_amount_format)abap.compare.initial(i_amount_format.getOffset({offset: 1, length: 1})))) {
ro_parser.get().mv_amount_format.set(i_amount_format);
} |
| @@ -0,0 +1,25 @@ | |||
| { | |||
| "name": "text2tab", | |||
| "version": "1.0.0", | |||
There was a problem hiding this comment.
a trick: you can set private: true so that it cannot accidently be published to npm
|
next problem: Perhaps type as |
f71c8b9 to
9790a37
Compare
|
@larshp Trying to do this again ... May I ask for some assistance ? The message says something wrong with |
package.json
Outdated
| "@abaplint/cli": "^2.79.29", | ||
| "@abaplint/runtime": "^1.6.47", | ||
| "@abaplint/runtime": "^1.8.40", | ||
| "@abaplint/transpiler-cli": "^1.6.47" |
There was a problem hiding this comment.
try updating these to latest
|
anyhow, next problem to tackle is ideally something that is marked as released, https://abapedia.org/steampunk-2305-api/ |
|
update didn't help: same error: ... And how do you see from it, that it is about VERI_ALPHA ? |
|
ALPHA: the xml generation might be bugged and remove the conversion routine package.json: latest @abaplint/runtime is 2.7.54 |
|
Added domain/dtel to "deps" but no effect - same error |
|
try updating package.json to latest versions of the dependencies |
Yes, it's done 957b209 |
|
Ah no, sorry (need to get rid of the package json in favor of script, it just makes things worse). |
|
OK, now it is some issue with conv_exit |
|
reproduced in unit test in open-abap/open-abap-core#720 |
|
try again |
|
Void type: |
|
Hmmm |
|
the classes are not in open-abap yet, and there is a nice but to fix in the transpiler to give a better error message in this scenario |
|
add these two skips, not feeling like implementing DecFloat16 this week.. |
|
:) Done, though parse_ignore_convexit should theoretically work ... because the idea is to don't run the exit ... but can be checked later |
|
current problem reproduced in open-abap/open-abap-core@2afe78a |
|
fixed. P.S. is there any way to make the error output less cryptic? I can potentially contribute ... though ... I'm not sure I understand the output enough. E.g. these look the same |
for the current issue, the commented testcases are in open-abap/open-abap-core#739 problem is the RTTI in open-abap doesnt return identical object references for identical types I implemented a bit less cryptic, but still cryptic message fixed in https://github.com/open-abap/open-abap-core/pull/739/files#diff-c761d101268df6f7b95ee1c9f81a84d0c9bbc2d15a262804315573b258e13439 |
|
Hi Lars, any progress with that issue? Can I do anything from my side? |
|
not really sure what is the best way to fix the issue, perhaps just disable those testcases for now |






No description provided.