We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we have a const inline statement in the code the sonar plugin raise an error;
Test Case
unit Unit1; interface implementation procedure Test(); begin with FComponent do begin const lInlineConst: integer = 1; InternalField := 1; end; end;
C:...\delphi\PMDTest\unit18040698869135927507.pas line 11:4 mismatched input 'const' expecting END C:...\delphi\PMDTest\unit18040698869135927507.pas line 13:5 mismatched input ';' expecting DOT
SonarQube Version = 10.2.0.77647 SonarDelphi = 1.0.8
The text was updated successfully, but these errors were encountered:
fix: fixing issue Embarcadero#15 - changing grammar to allow inline c…
cc5560c
…onst declaration
Merge pull request #1 from Valdeirsk8/hotfix/constinlineissue
f2ef8fa
fix: fixing issue Embarcadero#15 - changing grammar to allow inline const declaration
Hi @Valdeirsk8,
Inline var and const declarations are supported by: integrated-application-development/sonar-delphi
var
const
Sorry, something went wrong.
No branches or pull requests
When we have a const inline statement in the code the sonar plugin raise an error;
Test Case
C:...\delphi\PMDTest\unit18040698869135927507.pas line 11:4 mismatched input 'const' expecting END
C:...\delphi\PMDTest\unit18040698869135927507.pas line 13:5 mismatched input ';' expecting DOT
SonarQube Version = 10.2.0.77647
SonarDelphi = 1.0.8
The text was updated successfully, but these errors were encountered: