Assertion failure when combining insertNodeAfter
with deleteNode
#23793
Labels
Bug
A bug in TypeScript
Domain: Formatter
The issue relates to the built-in formatter
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: master
Code
See comment in moveToNewFile_js.ts (as of #23726).
We are moving
const y
away, and also inserting a node after the previous statement. We can't simply usereplaceNode
since we don't know that these two changes will be related.The text was updated successfully, but these errors were encountered: