Parse error: Failed to construct DelphiFile (line 5883:0 missing FORWARD at 'var') #269
Closed
2 tasks done
Labels
bug
Something isn't working
Prerequisites
SonarDelphi version
1.7.0
SonarQube version
10.5.1
Issue description
The following error occurs on multiple files in our project. Luckily, one of the files is FastMM5, making it possible to report this bug without sharing our own code. The following file causes the error:
https://github.com/pleriche/FastMM5/blob/version_505/FastMM5.pas
This causes the sonar-delphi to crash with the following stacktrace:
Steps to reproduce
The easiest way to reproduce this is to do a DelphiLint analysis on the following file:
https://github.com/pleriche/FastMM5/blob/version_505/FastMM5.pas
This shows the same error as sonar-delphi.
Minimal Delphi code exhibiting the issue
https://github.com/pleriche/FastMM5/blob/version_505/FastMM5.pas
The text was updated successfully, but these errors were encountered: