cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
R3dKap
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
Power Apps Staff CarlosFigueira
Power Apps 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

View solution in original post

2 REPLIES 2
Power Apps Staff CarlosFigueira
Power Apps 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

View solution in original post

R3dKap
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... 🙂

Cheers,

Emmanuel

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (5,085)