Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 Support (Qt 5) › Qt Creator indicates syntax error with certain javascript functionality

Viewing 1 post (of 1 total)
  • Author
  • #22132



    I have the following Javascript code:

    unique_sub_names = [...new Set(user_data.map(item => item.sub_name))]

    I can run the code just fine, everything works as it should. However, inside Qt Creator, I get an “Expected token” error for the ‘…’ part and an “Unexpected token” error for the arrow function.

    Even though everything runs on the Live Server just fine, these ‘errors’ cause code coloring issues for all code I write after the error has been detected (plus I can always see this error in my code.

    Is there a way to have Qt Creator ignore certain errors? I read that Qt Creator 4.9 addresses these issues a little but the most recent version of Felgo uses version 4.8.2.

    Thank you for any help.


Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded