ITADN

fix(twoslash): improve cuts parser & error messages

#77Pull Requestfuma-nama 创建于 2025-08-09
F
fuma-namacommented
fixes #76. I think the current implementation can be faster by assuming a single line won't match multiple regexps, and as a side effect we can output line numbers instead of indexes, which is more helpful for debugging. Please let me know if it's not desired. - unit test added for original case - tested again on existing unit tests
合并状态:未合并 1 条评论