Open tmat opened 9 years ago
Can we use line number instead of submission number? We can turn line numbers on by default in interactive and use that. That would be more intuitive to the users.
Turning line numbers on is a good idea. But we don't need to display them instead of submission numbers. Stack frames should already include line numbers (and file names) in their display strings for regular files. We'll need an infrastructure that propagates the line number from the host thru the hosting APIs to the emitter though. We don't have such infrastructure currently. I have filed an issue (#7723) because having it would be really useful.
Exception stack traces have been improved but we still need to do work around dropping submission names and (optionally?) showing line numbers. The remaining work doesn't meet the bar for 1.2.
This is used in REPLs to display stack frames.