mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
255 B
13 lines
255 B
6 years ago
|
package loader
|
||
|
|
||
|
// Errors contains a list of parser errors or a list of typechecker errors for
|
||
|
// the given package.
|
||
|
type Errors struct {
|
||
|
Pkg *Package
|
||
|
Errs []error
|
||
|
}
|
||
|
|
||
|
func (e Errors) Error() string {
|
||
|
return "could not compile: " + e.Errs[0].Error()
|
||
|
}
|