Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Comments are showing as error by system after compile AOT

Posted on by 2,988

VIOLETCOLORERROR.png

Hi Experts,

Why comments in a class is highlighted as error with color "VIOLET" any idea someone faced before please suggest me, further check the above image.

Best Regards,

Shabir Ahmad

  • Verified answer
    Andre Ghazaleh Profile Picture
    Andre Ghazaleh 870 on at
    RE: Comments are showing as error by system after compile AOT

    Hi Shabir,

    These are TODO comments, someone put them in the code to make it clear that the code is not yet complete or needs further improvements, when you put a TODO at the beginning of a comment, the X++ compiler recognizes this keyword and outputs the rest of the comment text on the Tasks Tab (From the picture you have 269 Tasks).

    For further information check the official Microsoft Document:
    docs.microsoft.com/.../todo-comments-for-x-developer-tasks

    Best regards

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans