abaplint / abaplint-sci-server

Node backend application for running abaplint on ABAP
MIT License
20 stars 12 forks source link

Circular reference between objects yields in objects being skipped by abaplint #1651

Closed fdupret closed 4 months ago

fdupret commented 4 months ago

I'm not sure if this should be fixed upstream or here.

Context: two objects refer to each other (example: header class to item class and item class to header class). Issue: these two objects are not checked by abaplint because the object is seen as a dependency for itself.

Example: abaplint-sci-client-data-CLAS-ZCL_TEST_HEADER.zip This test should fail with a parser error for 7.02 but it yields 0 issues. When removing the circular reference, the parser error issue is correctly detected by abaplint.