dsherret / dsherret/ts-morph

Invalidate all symbols and types after a manipulation?

Open
#1,176 0 comments 1 reaction 0 assignees View on GitHub
breaking change
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

It is incorrect to still use symbols and types after a program has been reset. Perhaps all wrapped symbols and types should be invalidated after a manipulation occurs.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Start by locating how wrapped symbols and types are retained across a program reset or manipulation, then determine how invalidation should be defined and verified so those objects are no longer used afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.