Open hymanlv opened 2 years ago
function test() ---@type ClassA local a = {} a.xxx = 1 end
没有警告/错误提示
期望a.xxx = 1处有警告/错误提示: xxx不是ClassA的变量
a.xxx = 1
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
…
Environment(环境)
What are the steps to reproduce this issue?(重现步骤?)
function test() ---@type ClassA local a = {} a.xxx = 1 end
What happens?(出现什么问题?)
没有警告/错误提示
What were you expecting to happen?(期望?)
期望
a.xxx = 1
处有警告/错误提示: xxx不是ClassA的变量Any logs, error output, etc?(有没有什么log, error输出?)
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
Any other comments?(其它说明)
…