Robert Griesemer
Robert Griesemer
@beoran We might just as well call that function `assert` and only permit constant arguments. (Just for reference: https://golang.org/doc/faq#assertions).
cc: @ianlancetaylor
I've wished to be to able to do this many times (go/ast is a prime example). I don't know that we ever thought through all the consequences, but it's perhaps...
@dominikh issue #164 was about a "programmer error" or misunderstanding of the spec as written. Usually we don't look at each such error and consider a spec change. However this...
Given a struct type `T` with arbitrary embeddings (directly, or indirectly), if the following code is valid: ```Go var x T x.f1 = v1 x.f2 = v2 ... ``` for...
If `E` is generic the example might look like this: ```Go type E[T any] struct { A T } type T1 struct { E[int] } type T2[T any] struct {...
@earthboundkid We could say that all return parameters must start with an _ for this feature to kick in. If some don't start with an _ then go doc shows...
I agree that using `Invalid` to mark a type as incomplete is problematic because it implies that an error was reported somewhere when it wasn't. Now that we have an...