elvish/pkg/diag
Qi Xiao 78862465a4 pkg/diag: Include line:col of start position in Error and Show methods.
The Error methods used to show the start and end indices, while the Show methods
used to show line ranges.

Showing line:col of the start position seems to be pretty standard; both Go and
Rust do that.

I tried including the line:col of the end position too, but can't find a good
enough format.
2022-12-08 19:07:18 +00:00
..
cognate_errors_test.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
cognate_errors.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
context_test.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
context.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
doc.go Move all libraries to new pkg/. 2019-12-23 20:00:59 +00:00
error_test.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
error.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
range_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
range.go pkg/diag: Document why Ranging is not called Range. 2022-11-29 21:17:07 +00:00
show_error_test.go pkg/diag: Increase test coverage. 2022-11-30 12:57:02 +00:00
show_error.go interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
shower.go [cleanup] pkg/diag: PPrint -> Show. 2020-03-31 00:27:08 +01:00
testutil_test.go pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00