Commit e1424f6
committed
fix: merge C# stub nodes with real cross-language definitions
When C# code inherits from a type defined in F# (e.g. SqliteBookStore
extends BookStore from Interfaces.fs), the C# extractor creates a stub
node with an empty source_file. This stub disconnects the inheritance
edge from the real F# definition.
Add a post-extraction pass that merges stub nodes into real definitions
by matching labels. Prioritize definition files (Interfaces.fs,
Domain.fs, Types.fs) so inherits edges point to abstract types rather
than implementation classes.
Made-with: Cursor1 parent 5843ffc commit e1424f6
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3342 | 3342 | | |
3343 | 3343 | | |
3344 | 3344 | | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
3345 | 3384 | | |
3346 | 3385 | | |
3347 | 3386 | | |
| |||
0 commit comments