Override Expression Expected

Hello,

Webstorm 2021.3.1, Emmylua 1.3.6.222

Getting Expression Expected when using backticks. Is there a way to tell it to ignore this error? Code won't reformat with this error.

1
5 comments

I am also facing this issue.

0

Could you share the complete code snippet (as text) the issue can be repeated with?

0

Here is a small block from my code, it is 4000 lines in total. This is for a FiveM server, logging vehicles for purchase by RP Players.

vehicles.lua :

Vehicles = {
--- Compacts
['asbo'] = {
['name'] = 'Asbo',
['brand'] = 'Maxwell',
['model'] = 'asbo',
['price'] = 4000,
['category'] = 'compacts',
['hash'] = `asbo`, -- < ERROR
['shop'] = 'pdm',
},
['blista'] = {
['name'] = 'Blista',
['brand'] = 'Dinka',
['model'] = 'blista',
['price'] = 13000,
['category'] = 'compacts',
['hash'] = `blista`, -- < ERROR
['shop'] = 'pdm',
}
}
0

What plugin do you use for Lua syntax highlighting? EmmyLua? I'd suggest reporting the issue to the plugin vendor (https://github.com/EmmyLua/IntelliJ-EmmyLua/issues)

0

Alright, thank you. I have submitted an error with them as well.

0

Please sign in to leave a comment.