mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 05:23:40 +00:00
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.
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user