sonar-openedge icon indicating copy to clipboard operation
sonar-openedge copied to clipboard

"System.Environment+SpecialFolder" proparse error

Open ppyck opened this issue 1 month ago • 3 comments

following code

message
    System.Environment:GetFolderPath("System.Environment+SpecialFolder":LocalApplicationData)
view-as alert-box.

results in Proparse error at position :2:73

ppyck avatar Dec 05 '25 13:12 ppyck

When prevents you from using System.Environment:GetFolderPath(System.Environment+SpecialFolder:LocalApplicationData)?

gquerret avatar Dec 05 '25 13:12 gquerret

When prevents you from using System.Environment:GetFolderPath(System.Environment+SpecialFolder:LocalApplicationData)?

Nothing I guess. The message was just some quick coding to show the error. I was going through existing code and got the proparse error. Since the code did what it has to, I didn't think about the fact the double-quotes aren't necessary

ppyck avatar Dec 05 '25 14:12 ppyck

I just asked because I see the challenge to correctly recognize this code and compute symbols in Proparse. I don't think that this will be fixed in the near future unless this syntax (usage of double quotes for class names) is required.

gquerret avatar Dec 05 '25 15:12 gquerret