当if语句分支不包含任何语句时, Luacheck linter会发出警告。 例如,如果我有一个名为test.lua的文件,其代码如下local function f x if x hello then nothing to do ...
確定! 回上一頁