mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 14:48:40 +00:00
df724f5827
This can in fact happen in practice, so return an actual error message instead.
7 lines
177 B
Go
7 lines
177 B
Go
// some comment to move the first line
|
|
|
|
package foobar
|
|
|
|
// ERROR: # command-line-arguments
|
|
// ERROR: invalidmain.go:3:9: expected main package to have name "main", not "foobar"
|