最萌小汐

Results 339 comments of 最萌小汐

我没有看代码,但是看描述我觉得无论什么时候都不应该用计分。如果无法确定如何narrow,那就不做narrow。

明白了,这里的计分指的是narrow程度,那应该没有问题

这是一个两难的问题。目前的策略是当对象有多个定义时,只要有一个定义未标记为弃用,那么整个对象都不是弃用。 这个是为了用户可以重新实现已被弃用的内置函数如 `table.getlen`

> > 这是一个两难的问题。目前的策略是当对象有多个定义时,只要有一个定义未标记为弃用,那么整个对象都不是弃用。 > > 我能想到的,是 `@deprecated` 支援1個 attr 來表達 **強力模式**,比如說 `---@deprecated (final)` > > * 那麼在檢查 deprecated 時,如果其中1個 deprecated 是帶 `final` > => early return true > * 否則...

Perhaps I should go and find a third-party library.

暂时没有想到好的方法标记一个文件有这样的特殊行为

Check https://github.com/neovim/nvim-lspconfig/issues/2355

> Nothing really helpful there. > > In my case, out of all globals, I'm getting warnings only for the `type` standard function: `Undefined global 'type'` > > Really weird,...

Please try to startup server with parameters `--meta=`. Maybe it generated meta files failed.