-
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
proposal: add shape package to stdlib for holding gcshape instance types #49268
Comments
I think this is a subset of #32819. Assuming we document that restriction during the freeze, then this proposal will already be de facto accepted and implemented :) |
We've used go.string for a long time for string data. Can we use go.shape instead of reserving 'shape'? |
That's a fair point - I wasn't aware that |
This proposal has been added to the active column of the proposals project |
Withdrawn - looks like |
This proposal has been declined as retracted. |
I'd like to reserve the
shape
stdlib package to hold compiler-generated gcshape types. Right those types live in the.shape
package so it won't conflict with any real package name. But that makes generated code look ugly, in particular the leading dot gets escaped to%2e
so there's a smattering of those escapes throughout the generated code for generics.In addition, if we reserve the
shape
package it gives us a place to put some documentation, so that when someone disassembles their code and sees references to ashape
package, they can find documentation on what that means.Related: #37641
The text was updated successfully, but these errors were encountered: