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
During a sweep of the tri-comparison ledger, we found that the TypeScript func_start regex fails to extract functions with generic type parameters.
Example from fp-ts/pipeable.ts:
exportfunctionpipeable<FextendsURIS3,I>(
Tree-sitter and Ctags correctly extract this, but GitGalaxy drops it, likely because the regex doesn't tolerate the <...> type block before the argument list.
Closing: My investigation was incorrect. The reported pipeable instances are TypeScript function overloads (signatures) without bodies. GitGalaxy correctly matches the name but intentionally discards it as body-less, whereas Ctags and Tree-sitter blindly extract every signature as a separate function. The actual implementation at line 2520 is successfully extracted by GitGalaxy. No defect exists.
Activity
squid-protocol commentedon Aug 24, 2026
Closing: My investigation was incorrect. The reported
pipeableinstances are TypeScript function overloads (signatures) without bodies. GitGalaxy correctly matches the name but intentionally discards it as body-less, whereas Ctags and Tree-sitter blindly extract every signature as a separate function. The actual implementation at line 2520 is successfully extracted by GitGalaxy. No defect exists.Root-cause and file GitHub issues for TypeScript's real func_start re…