Re: [go-nuts] ast.NewPackage errors for built in types

2021-10-17 Thread K. Alex Mills
I'm guessing here, but you probably do need the full type-checker for that, depending on what you mean by "a native type". In go we can alias types in two ways. type A uint8 type B = uint8 There are subtle differences between the two which I don't claim to understand... In any case, AFAIK both a

Re: [go-nuts] Re: Questions about documentation of Go standard library

2021-10-17 Thread Kamil Ziemian
> you can probably read it as Invalid argument index or invalid use of > argument index. > Hope that helps Thank you mb0, now it make sense. I'm not confident as Go user to guess things like that. Thank you Ian Lance Taylor. I have now quite a pile of Go must read texts, when I end my day jo

Re: [go-nuts] ast.NewPackage errors for built in types

2021-10-17 Thread Steven Hartland
I need to be able to tell the types of fields, in particular are fields of a struct a native type or a struct themselves. The ast parse even with a simple importer don’t provide that info. On Sat, 16 Oct 2021 at 21:06, 'Richard Oudkerk' via golang-nuts < golang-nuts@googlegroups.com> wrote: > I

[go-nuts] Re: x/crypto/openpgp missing support for uncompressed data in compressed data packets

2021-10-17 Thread Sean Liao
Note as of https://github.com/golang/go/issues/44226 x/crypto/openpgp is frozen and deprecated On Saturday, October 16, 2021 at 9:01:42 PM UTC+2 arud...@stripe.com wrote: > Hello, > > I think I may have found a bug in the x/crypto/openpgp implementation. > However, I wanted to ask here to make