You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function doNothing()
end
function noReturn()
doNothing()
end
fails with this console output about a parse error:
[main] ERROR org.sonar.squidbridge.AstScanner - Parse error at line 7 column 1:
1: function doNothing()
2: end
3:
4: function noReturn()
5: doNothing()
6: end
7:
^
It is sufficient to add a return to function noReturn() and the test will succeed:
function doNothing()
end
function noReturn()
return doNothing()
end
Regards,
Juergen
The text was updated successfully, but these errors were encountered:
Hi!
I think I found a bug in this plugin. This test (I added it to LuaAstScannerTest)
executed with this Lua file:
end
fails with this console output about a parse error:
It is sufficient to add a
return
to functionnoReturn()
and the test will succeed:Regards,
Juergen
The text was updated successfully, but these errors were encountered: