[Bug]: semanticModel.references(symbol)
gives invalid reference count for object method parameters.
#43477
Labels
Area/SemanticAPI
Semantic API Related Issues #Compiler
Team/CompilerFETools
Semantic API, Formatter, Shell
Type/Bug
Description
For the code mention in [1], When I am try to find the references of the
objParam
parameter inside the method in the module level object declaration using thesemanticModel
, it gives the result as 4. But the actual value should be 2.[1] -
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: