can not compile with compiler built from source code of branch dev.go2go

81 views
Skip to first unread message

chen...@gmail.com

unread,
Jul 29, 2020, 7:45:36 AM7/29/20
to golang-nuts
hello, i am trying to use generic, so i install go compiler from source code. But when i try to compile go code, it throw a error:  generic functions cannot be compiled yet.
so is that possible to build generic go code with go2go compiler?  

Ian Lance Taylor

unread,
Jul 29, 2020, 11:50:48 PM7/29/20
to chen...@gmail.com, golang-nuts
On Wed, Jul 29, 2020 at 4:46 AM chen...@gmail.com <chen...@gmail.com> wrote:
>
> hello, i am trying to use generic, so i install go compiler from source code. But when i try to compile go code, it throw a error: generic functions cannot be compiled yet.
> so is that possible to build generic go code with go2go compiler?

What exactly did you do? What exactly happened?

Be sure to read src/cmd/go2go/doc.go.

Ian
Reply all
Reply to author
Forward
0 new messages