-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
embed: remove type spelling restrictions #43602
Comments
(The Likely Accept is inherited from #43217, which this was split off from.) |
Change https://golang.org/cl/282715 mentions this issue: |
No change in consensus, so accepted. 🎉 |
Change https://golang.org/cl/288072 mentions this issue: |
//go:embed variables can be type aliases. //go:embed variables can't be local to a function. For #43216 For #43602 Fixes #43978 Change-Id: Ib1d104dfa32b97c91d8bfc5ed5d461ca14da188f Reviewed-on: https://go-review.googlesource.com/c/go/+/288072 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
In #43217 (comment) I suggested two changes:
The reaction is for the most part overwhelmingly positive. But dropping the import restriction has generated some important discussion, while dropping the type spelling restriction seems completely uncontroversial.
I've forked this issue off of #43217 to track only dropping the type spelling restriction. Then #43217 can be only about dropping the import restriction.
The text was updated successfully, but these errors were encountered: