tinygo/compiler
Ayke van Laethem 69c1d802e1 loader: improve error messages for failed imports
Add location information (whenever possible) to failed imports. This
helps in debugging where an incorrect import came from.

For example, show the following error message:

    /home/ayke/src/github.com/tinygo-org/tinygo/src/machine/machine.go:5:8: cannot find package "foobar" in any of:
        /usr/local/go/src/foobar (from $GOROOT)
        /home/ayke/src/foobar (from $GOPATH)

Instead of the following:

    error: cannot find package "foobar" in any of:
        /usr/local/go/src/foobar (from $GOROOT)
        /home/ayke/src/foobar (from $GOPATH)
2020-01-04 00:01:07 +01:00
..
llvmutil compiler: refactor func lowering to the transform package 2019-12-04 22:19:49 +01:00
asserts.go compiler: support constant indices with a named type 2019-10-01 21:31:00 +02:00
calls.go Improved blocking (#513) 2019-09-22 17:58:00 +02:00
channel.go compiler: refactor alloca/lifetime/wordpack code into separate package 2019-11-15 23:37:17 +01:00
check.go compiler: add location information to the IR checker 2019-12-21 20:49:51 +01:00
compiler.go loader: improve error messages for failed imports 2020-01-04 00:01:07 +01:00
defer.go revise defer to use heap allocations when running a variable number of times 2019-12-30 18:12:40 +01:00
errors.go compiler: add location information to the IR checker 2019-12-21 20:49:51 +01:00
func.go all: refactor compile options 2019-11-04 11:45:35 +01:00
gc.go compiler: move GC passes to the transform package 2019-11-25 09:14:31 +01:00
goroutine-lowering.go compiler: improve error locations in goroutine lowering 2019-12-23 08:33:04 +01:00
goroutine.go all: refactor compile options 2019-11-04 11:45:35 +01:00
inlineasm.go all: add HiFive1 rev B board with RISC-V architecture 2019-07-07 14:03:24 +02:00
interface.go compiler: fix assertion on empty interface 2019-12-26 09:20:22 +01:00
llvm.go compiler: refactor func lowering to the transform package 2019-12-04 22:19:49 +01:00
map.go compiler: add support for pointers as map keys 2019-06-08 21:48:05 +02:00
optimizer.go compiler: add location information to the IR checker 2019-12-21 20:49:51 +01:00
sizes.go compiler: don't crash when encountering types.Invalid 2019-12-30 13:40:37 +01:00
symbol.go compiler: add //go:align pragma 2019-09-18 20:15:17 +02:00
syscall.go Add initial FreeBSD support 2019-12-29 10:48:28 +01:00
volatile.go compiler: implement volatile operations as compiler builtins 2019-05-14 12:24:01 +02:00