Skip to content
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

Fix Go 1.12beta2 build error #173

Conversation

benbjohnson
Copy link

This commit fixes the following build error caused by Go 1.12beta2 on Darwin:

./watcher_fsevents_cgo.go:51:69: syntax error: unexpected semicolon, expecting expression

I don't understand why 1.12beta2 breaks this but this fixes it. :)

Fixes #169

This commit fixes the following build error caused by Go 1.12beta2:

```
./watcher_fsevents_cgo.go:51:69: syntax error: unexpected semicolon, expecting expression
```
@rjeczalik
Copy link
Owner

This was a bug in Go [1], issue will be fixed in either another beta release or in 1.12, so no need for code changes. Thanks @benbjohnson!

golang/go#30117

@rjeczalik rjeczalik closed this Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to build with go1.12beta1
2 participants