AL icon indicating copy to clipboard operation
AL copied to clipboard

AA0008 reports warning when using options of TEXTENCODING collection

Open JuricaB opened this issue 7 years ago • 3 comments

Describe the bug Code Analyzer reports AA0008 reports : You must specify open and close parenthesis after 'TextEncoding'.

This is reported on following line and TEXTENCODING option should obviously not have parentheses:

currXMLport.TextEncoding(TEXTENCODING::MSDos);

To Reproduce Steps and/or AL code to reproduce the behavior: Declare XMLPort variable, add line as per above.

Expected behavior Compiler should differentiate between function TextEncoding and collection TextEncoding

Screenshots image

Versions:

  • AL Language: 2.1.91153
  • Business Central: NZ Dynamics NAV 14.0 (27970), platform 14.0.27940.0

JuricaB avatar Feb 11 '19 01:02 JuricaB

Hi folks,

This is still an issue with AL extension 3.0.115791, Platform 14.0.29608.0 + Application 29651 (NZ Dynamics NAV 14.0)

Any ETA on resolution?

Thanks, Jurica

JuricaB avatar Apr 03 '19 21:04 JuricaB

This is still an issue with AL extension 4.0.182565.

JuricaB avatar Oct 02 '19 04:10 JuricaB

Fixed in master

MarcHansenMicrosoft avatar Jan 17 '20 13:01 MarcHansenMicrosoft