Truncate lineText
in references
responses to avoid RangeError
#50134
Labels
Milestone
lineText
in references
responses to avoid RangeError
#50134
Uh oh!
There was an error while loading. Please reload this page.
Repro
Present in 4.7.4. and
main
.git clone https://github.com/apache/echarts
cd echarts
git reset --hard c58437740899254aeb318595d4e5e324ad48961d
cd ..
npm install @typescript/server-replay
npx tsreplay ./echarts path/to/replay.txt path/to/tsserver.js
replay.txt
One (of several?) problematic reference is at line 45, offsets 280-284 of
echarts/dist/echarts.common.min.js
.A nice solution would truncate before and after a range containing the offset of interest. A minimal solution would truncate from the end, possibly cutting off the actual reference.
The text was updated successfully, but these errors were encountered: