Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler: Don't allow builtin function values.
According to the spec, http://golang.org/ref/spec#Built-in_functions: "built-in functions do not have standard Go types, so they can only appear in call expressions; they cannot be used as function values." Fixes golang/go#11570. Change-Id: I398d80e2e6f6a8c23c8f3a2c8b2fb07575c35cf3 Reviewed-on: https://go-review.googlesource.com/12543 Reviewed-by: Ian Lance Taylor <[email protected]>
- Loading branch information