最萌小汐
最萌小汐
试试把 `--lazy` 去掉?能在单独的演示中复现吗?
来个演示项目
This is not related to #1561 .
你可以现在 `runtime.special` 里设置你的函数为 `error` 。 我目前不是通过分析函数定义来确定是否永远不返回的。
Field types have different precedences, with `---@field` having the highest precedence because this is the user-explicitly defined type. If you make `car` as a local variable, the behavior will be...
Judging the precedence of global variables is a bit difficult, and I decided to maintain the behavior for now. For this issue, you must define the correct type in `---@field`,...
So what you want is `(fun():int|boolean)|Tire` ?
Dose not support generic class for now.
I may support this: ```lua ---@type fun(t:iolib) callback = nil -- In the user code function callback(t) t:$ end ```