
This commit improves error reporting in several ways: * Location information is read from the intruction that causes the error, as far as that's available. * The package that is being interpreted is included in the error message. This may be the most useful part of the improvements. * The hashmap update intrinsics now doesn't panic, instead it logs a clear error (with location information, as in the above two bullet points). This is possible thanks to improvements in LLVM 9. This means that after this change, TinyGo will depend on LLVM 9.
14 строки
524 Б
Modula-2
14 строки
524 Б
Modula-2
module github.com/tinygo-org/tinygo
|
|
|
|
go 1.11
|
|
|
|
require (
|
|
github.com/blakesmith/ar v0.0.0-20150311145944-8bd4349a67f2
|
|
github.com/creack/goselect v0.1.0 // indirect
|
|
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf
|
|
github.com/marcinbor85/gohex v0.0.0-20180128172054-7a43cd876e46
|
|
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45
|
|
golang.org/x/sys v0.0.0-20191010194322-b09406accb47 // indirect
|
|
golang.org/x/tools v0.0.0-20190227180812-8dcc6e70cdef
|
|
tinygo.org/x/go-llvm v0.0.0-20191124211856-b2db3df3f257
|
|
)
|