Commit 44cb8b7
committed
fix(typescript): map included .ts files in step output
Two adjacent blocks in container.js merge a transpile mapping after
compiling TypeScript. The helper block merges into store.tsFileMapping;
the include/support block merges only into container.tsFileMapping.
Step.line() reads store.tsFileMapping, so a step whose stack frame points
into an included page object had no entry to match and was printed with
the deleted .temp.mjs sibling instead of the .ts source. Error stacks were
unaffected because fixErrorStack() is handed the mapping directly.
The include block now merges into store as well, mirroring the helper
block two hundred lines above it.
Closes #56751 parent 8b91815 commit 44cb8b7
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
895 | 905 | | |
896 | 906 | | |
897 | 907 | | |
| |||
0 commit comments