Frederik Hudák
Frederik Hudák
`IF NOT line_exists( input-values[ value ] ).` but if value is of type `string`, this will dump and what you likely meant was `IF NOT line_exists( input-values[ table_line = value...
There is a very confusing blog about this https://blogs.sap.com/2021/10/19/new-kinds-of-abap-expressions/ ```abap REPORT zfh_test_syntax. CLASS lcl_test DEFINITION. PUBLIC SECTION. METHODS get IMPORTING ref TYPE REF TO data RETURNING VALUE(result) TYPE string. ENDCLASS....
Abaplint does not catch this yet (I don't know the consequences of not respecting this warning)
Whenever converting from a decimal number type or a string type to a whole number type, implicit rounding can occur. ```abap DATA(float_in_string) = `9.54`. DATA: int type i. int =...
Report error when the operators `` are used on strings, as this does an alphabetical, not a numerical comparison which can lead to problems (e.g. `"11" < "9" == true`...
Here, iv_transport has the domain trkorr (char20), it is a syntax error to pass it to a string parameter https://github.com/abapGit/abapGit/pull/5022/commits/483dcff5c5800d2ebd334c33b52c1d3638bbc737 I feel like abap sometimes allows it and sometimes doesn't....
(since 756) 
if you have a domain with fixed values, specify a class which serves as constants of those values config ```json "constant_classes": { "mapping": [ {"blah": "cl_blah_constants"}, ... ] } ```...
Could potentially lead to performance improvements if the regex objects are cached, and the regexes will become better organized: https://github.com/abaplint/abaplint/blob/f5e326823eee124c5dddbf80b535e50d53086df7/packages/core/src/abap/2_statements/combi.ts#L935-L937
If you apply the fix here, abaplint will put the punctuation on the end of the commented line which causes a syntax error 