Files
tinygo/testdata/errors/loader-importcycle.go
Ayke van Laethem d7773d3e86 loader: handle go list errors inside TinyGo
Instead of exiting with an error, handle these errors internally.
This will enable a few improvements in the future.
2024-07-13 13:26:26 +02:00

11 lines
319 B
Go

package main
import _ "github.com/tinygo-org/tinygo/testdata/errors/importcycle"
func main() {
}
// ERROR: package command-line-arguments
// ERROR: imports github.com/tinygo-org/tinygo/testdata/errors/importcycle
// ERROR: imports github.com/tinygo-org/tinygo/testdata/errors/importcycle: import cycle not allowed