Dawid Gracek

Results 12 issues of Dawid Gracek

The below code doesn't work on versions 7.4sp08 and below. When I entered version 7.02/7.4sp02/7.4sp08 in syntax.version rule, there are no errors. But there should be. Am I wrong? ```...

bug

Situation 1: ``` DATA: BEGIN OF s1, foo TYPE i, END OF s1, BEGIN OF s2, foo TYPE i, END OF s2. FIELD-SYMBOLS TYPE any. IF 1 = 1. "In...

I can't find a rule which checks if one uses hardcodes such as magic number comparisons. For example: ``` IF moo > 2. WRITE 'boo'. ENDIF. ``` Here value _2_...

new rule

![obraz](https://github.com/abaplint/abaplint/assets/143402755/39b4e17f-7405-48fc-afdc-b700f526ae8a)

@larshp why 61 if the answer to all questions is 42? 😄 https://github.com/abaplint/abaplint/blob/aa3cab556dafadbfa0aacbdabf4770ba50ff43da/packages/core/src/rules/align_pseudo_comments.ts#L53 ok, let's be serious for a while. Run this example in the Playground. ``` REPORT zfoobar. SELECTION-SCREEN...

Hello, I have this strange issue with abaplint. It doesn't recognize that my method of the class doesn't use parameters from interface method definition. ```abap INTERFACE zcockpit_alv_factory PUBLIC. METHODS create_alv_purchases...

```abap REPORT zfoo. START-OF-SELECTION. DATA: BEGIN OF stru, is_valid TYPE abap_bool, END OF stru. DATA(error_flag) = xsdbool( abap_false = stru-is_valid ). WRITE error_flag. ``` IMHO, that part of code should...

I see that downport follows this rule but I didn't find a rule that checks the code against it. https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-insert-into-table-to-append-to

The **keyword_case** rule has two settings: upper and lower. I have not found a way to comply with abap formatter's “Keep Camel Case Identifiers” setting. ![obraz](https://github.com/user-attachments/assets/526282dd-b6d6-43de-b50a-10fffafccd04) Personally, I like all...