Robert Griesemer

Results 88 comments of Robert Griesemer

See also #31636. You can force the init order by ordering the imports accordingly and into "blocks" so that they don't get re-ordered ([example](https://go.dev/play/p/SAy_Zfpiyz4)). Note that this is not prescribed...

VSCode's goimport doesn't rearrange imports in different groups if they are separated by a blank line: ```Go import ( _ "b" // blank line _ "a" ) ``` (at least...

What matters here is also in which order the files are presented to the compiler by the `go` command. But I cannot but emphasize one more time: depending on these...

@the-zucc The `go` command passes files to the compiler in lexical file name order.

This error doesn't appear anymore due to some of the (partial) fixes done with the CLs above. There's still more to do to handle aliases correctly in all cases but...

Re-opened per previous comments and example: https://gotipplay.golang.org/p/mpONhtxQI4a

This appears to work now with GODEBUG=gotypesalias=1. Will add test and close.

We don't currently support field accesses of this kind even though the proposal says that this should/could work. We may not support this for Go1.18 as it doesn't seem like...

> Is there a more formal explanation for why this doesn't work beside "it wasn't implemented"? It'd be useful when explaining this issue to others. It seems to me that...