-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/compile: unexpected NUL in input #26888
Comments
Just tried the snippet on play.golang.org and got the following:
Is this what you want instead of "unexpected NUL in input"? |
Note that the code in the OP has only 7 lines but the error is reported for line 10. Perhaps there's something more to the source. Can you please paste the output of |
The error is reported from line 10 of |
@sjuliper7 are you positive that your Go installation isn't broken? It seems like the standard library source files cannot be read for some reason. |
@agnivade You're right, and I'm sorry. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Please answer these questions before submitting your issue. Thanks!
What did you do?
i have golang program like this code
package main
import "fmt"
func main() {
fmt.println("hello world")
}
but when i'm run.. "go run main.go"
C:\Go\src\fmt\print.go:10:2: read C:\Go\src\os\exec.go: unexpected NUL in input
What did you expect to see?
What did you see instead?
Does this issue reproduce with the latest release (go1.10.3)?
System details
The text was updated successfully, but these errors were encountered: