andrewbrg / codepad-chrome-app

An awesome multi-language IDE written in JavaScript, crafted for ChromeOS and released under the GNU general public license!
https://chrome.google.com/webstore/detail/code-pad-ide/adaepfiocmagdimjecpifghcgfjlfmkh
GNU General Public License v3.0
134 stars 86 forks source link

Javascript 'async' missing ";" before statement #61

Open codeSourc3 opened 3 years ago

codeSourc3 commented 3 years ago

This may actually be on purpose, but when I use the async keyword, the editor recommends I put a semicolon after it. image

themomgineer commented 3 years ago

I also have this issue! It gives me the error: 'Missing ";" before statement" for every async and await instance in my code! I am new to programming, so I would love to know if I am actually doing something wrong (I don't think so) or if it is a bug.

coder0107git commented 3 years ago

I also recently noticed that too. I will make a pull request if I can figure out the problem. Update: This is probably a problem with Ace (probably the version used by Codepad which is around v1.4.0).