Prerequisites
SonarDelphi version
1.20
Delphi version
13
SonarQube version
No response
Issue description
The parsers only supports the attribute before the field name like this:
` private [MyAttribute] FMyField: String;
private var [MyAttribute] FMyField: String;`
but RAD supports those too:
` [MyAttribute]
private FMyField: String;
[MyAttribute]
private var FMyField: String;`
Steps to reproduce
Create a class with attribute before visibility
` [MyAttribute]
private FMyField: String;
[MyAttribute]
private var FMyField: String;`
sonar-delphi is unable to parse the class.
Minimal Delphi code exhibiting the issue
No response
Prerequisites
SonarDelphi version
1.20
Delphi version
13
SonarQube version
No response
Issue description
The parsers only supports the attribute before the field name like this:
` private [MyAttribute] FMyField: String;
private var [MyAttribute] FMyField: String;`
but RAD supports those too:
` [MyAttribute]
private FMyField: String;
[MyAttribute]
private var FMyField: String;`
Steps to reproduce
Create a class with attribute before visibility
` [MyAttribute]
private FMyField: String;
[MyAttribute]
private var FMyField: String;`
sonar-delphi is unable to parse the class.
Minimal Delphi code exhibiting the issue
No response