cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
egallis
Level 10

Bug in code editor ? Two comments in a row throws an error

Hi,

As you can see in the capture below, putting two comments like /* ... */ with no code in between is considered as an error by the editor:

Image 2.png

Technically, I guess it shouldn't...

Emmanuel

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Bug in code editor ? Two comments in a row throws an error

You should be able to have two comments in a row. Do you have anything after the comments? Currently you cannot have an expression separator (";;" for fr-FR) as the end of the expression, which seems to be the case for you. If you add a new expression after the comments, or if you remove the separator, then it should work, as in the example below:

TwoComments.gif

2 REPLIES 2
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Bug in code editor ? Two comments in a row throws an error

You should be able to have two comments in a row. Do you have anything after the comments? Currently you cannot have an expression separator (";;" for fr-FR) as the end of the expression, which seems to be the case for you. If you add a new expression after the comments, or if you remove the separator, then it should work, as in the example below:

TwoComments.gif

egallis
Level 10

Re: Bug in code editor ? Two comments in a row throws an error

Hi @CarlosFigueira,

You're totally right... My mistake... Sorry I bothered you and thanks for your answer... Smiley Happy

Cheers,

Emmanuel

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 223 members 4,524 guests
Please welcome our newest community members: