mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 14:48:40 +00:00
d7773d3e86
Instead of exiting with an error, handle these errors internally. This will enable a few improvements in the future.
15 lines
657 B
Go
15 lines
657 B
Go
package main
|
|
|
|
import (
|
|
_ "github.com/tinygo-org/tinygo/testdata/errors/non-existing-package"
|
|
_ "github.com/tinygo-org/tinygo/testdata/errors/non-existing-package-2"
|
|
)
|
|
|
|
func main() {
|
|
}
|
|
|
|
// ERROR: loader-nopackage.go:4:2: no required module provides package github.com/tinygo-org/tinygo/testdata/errors/non-existing-package; to add it:
|
|
// ERROR: go get github.com/tinygo-org/tinygo/testdata/errors/non-existing-package
|
|
// ERROR: loader-nopackage.go:5:2: no required module provides package github.com/tinygo-org/tinygo/testdata/errors/non-existing-package-2; to add it:
|
|
// ERROR: go get github.com/tinygo-org/tinygo/testdata/errors/non-existing-package-2
|