Name of the lexer
Lua
Code sample
str = string.gsub(str, a, b) -- valid and no error
str = str:gsub(a, b) -- valid but error
Although both lines are valid Lua code, the argument part in the latter line is treated as errors.
Live Demo → Link
Additional context
(None)
Name of the lexer
Lua
Code sample
Although both lines are valid Lua code, the argument part in the latter line is treated as errors.
Live Demo → Link
Additional context
(None)