mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
8a357af3d8
This is needed for some improvements I'm going to make next. This commit also refactors error handling slightly to make it more easily testable, this should hopefully not result in any actual changes in behavior.
8 lines
137 B
Go
8 lines
137 B
Go
package main
|
|
|
|
func main(var) { // syntax error
|
|
}
|
|
|
|
// ERROR: # command-line-arguments
|
|
// ERROR: syntax.go:3:11: expected ')', found 'var'
|