rjeczalik / notify

File system event notification library on steroids.
MIT License
902 stars 128 forks source link

Fix Go 1.12beta2 build error #173

Closed benbjohnson closed 5 years ago

benbjohnson commented 5 years ago

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

rjeczalik commented 5 years ago

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!

https://github.com/golang/go/issues/30117