eclipse-che4z / che-che4z-lsp-for-cobol

COBOL Language Support provides autocomplete, highlighting and diagnostics for COBOL code and copybooks
Other
79 stars 55 forks source link

Range type specification #2446

Open ishche opened 3 weeks ago

ishche commented 3 weeks ago

In codebase we represent inclusive-exclusive an inclusive-inclusive ranges with the same Range class. It leads to hard to find bugs. I suggest to use different classes for thous cases so we can spot issues at compilation step.

ishche commented 3 weeks ago

One example of a range bug is #2445