You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are the steps to reproduce this issue?(重现步骤?)
See Given Example Alias Class Structure Below
--- @classAlocalA= {
methodA=function() end
}
--- @classBlocalB= {
methodB=function() end
}
--- @aliasABA|B
What happens?(出现什么问题?)
--- @type AB
local o = {}
o.methodA()
o.methodB()
Main Bug:
Mouse or cursor on o.methodA() and use Go to Declaration or Usages (CMD + Click or CMD+B) on the o.methodA()
Result: Works as Expected
Mouse or cursor on o.methodB() and use Go to Declaration or Usages (CMD + Click or CMD+B) on the o.methodB()
Result: Renders "No usages found in Project and Libraries"
Alternate Event:
Switch alias to B occurring first before A
--- @aliasABB|A
Then Go to Declaration on o.methodA() no longer works and o.methodB() works because it's declared first on the alias. It seems that the "Go to Declaration or Usages" is only honoring the first alias and ignores all others.
Mouse or cursor on o.methodA() and use Go to Declaration or Usages (CMD + Click or CMD+B) on the o.methodA()
Result: Renders "No usages found in Project and Libraries"
Mouse or cursor on o.methodB() and use Go to Declaration or Usages (CMD + Click or CMD+B) on the o.methodB()
Result: Works as Expected
Any logs, error output, etc?(有没有什么log, error输出?)
none
Any other comments?(其它说明)
…
The text was updated successfully, but these errors were encountered:
Environment(环境)
What are the steps to reproduce this issue?(重现步骤?)
What happens?(出现什么问题?)
Main Bug:
o.methodA()
and use Go to Declaration or Usages (CMD + Click or CMD+B) on theo.methodA()
o.methodB()
and use Go to Declaration or Usages (CMD + Click or CMD+B) on theo.methodB()
Alternate Event:
Switch alias to B occurring first before A
--- @alias AB B|A
Then Go to Declaration on
o.methodA()
no longer works ando.methodB()
works because it's declared first on the alias. It seems that the "Go to Declaration or Usages" is only honoring the first alias and ignores all others.o.methodA()
and use Go to Declaration or Usages (CMD + Click or CMD+B) on theo.methodA()
o.methodB()
and use Go to Declaration or Usages (CMD + Click or CMD+B) on theo.methodB()
Any logs, error output, etc?(有没有什么log, error输出?)
Any other comments?(其它说明)
…
The text was updated successfully, but these errors were encountered: