Skip to content

Conversation

@mohbl
Copy link
Collaborator

@mohbl mohbl commented Jun 30, 2025

This PR focuses on generating test files to validate fixes for three issues in ts2famix :

1/Duplicate Module FQNs for Top-level and nested ModuleDeclaration nodes (e.g., Namespace1, ParentNamespace.Inner) received duplicate FQNs, causing missing or conflicting Module entities.

2/Missing Arrow/Function Expressions: ArrowFunction and FunctionExpression nodes in CallExpression (e.g., arr.forEach) and ModuleDeclaration (e.g., module Foo) were not assigned unique FQNs, leading to undefined entities (e.g., famixArrow1).

3/Unindexed Properties: PropertyDeclaration nodes in classes were not indexed in buildMethodPositionMap, omitting them from the Famix model.

New test files were created to validate these fixes ModuleDuplicateFQN.test.ts , FunctionAndArrowExpressionFQN.test.ts and one case of the properties were added to the existed file MethodOverloadFQN.test.ts

Thank you, @fuhrmanator , for your review. I apologize for the delay in providing well-structured test files, and I appreciate your patience.

@fuhrmanator
Copy link
Owner

fuhrmanator commented Jul 5, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants