最萌小汐

Results 339 comments of 最萌小汐

> 诊断速度变慢,写代码时十几秒才能诊断完 请开一个新的issue并提供日志与可复现此问题的演示工程

> 500个应该是没问题的,我的工作项目有1500+个文件也无压力,应该是有什么隐藏的bug导致的,这个只有用示例调试才好查

> 有没有方法实现可选返回值? `---@return number?`

> ```lua > ---@return BattleRecordOne? > function BattleEnemy:GetBattleRecord() > if self.battleRecord then > return self.battleRecord.record > end--这里提示要返回值 > end > ``` #1257

> ```lua > local tm = os.date("*t", os.time()) > local t = os.time(tm) -- 不能将 `string|osdate` 赋给参数 `osdate?`。 > ``` 开个单独的issue,以后版本改为分析参数来决定返回值

First of all, thank you for your PR. But I don't think this can work, the operator should be a part of `Vector3` instead of `integer` or `number`, but the...

改用 `---@class Command`。 至于外部不能使用,以后会通过 `---@field private field type` 来 实现。

你现在必须得给它分配一个类型,`---@class UIXXX: Command`