There was an issue where function definitions were returning references as well as the definition. This is because the function definition extractor didn't consume the definition AST and passed it to the function reference extractor, which would pick up the references.
There was an issue where function definitions were returning references as well as the definition. This is because the function definition extractor didn't consume the definition AST and passed it to the function reference extractor, which would pick up the references.