Tinygo: go 1.12 - wasm

Created on 5 Mar 2019  路  3Comments  路  Source: tinygo-org/tinygo

I just updated to 1.12 and when compiling my project with tinygo, I get the following error:

/usr/local/go/src/internal/fmtsort/sort.go:58:19: invalid operation: mapValue (variable of type reflect.Value) has no field or method MapRange

It compiled just fine with 1.11.5 earlier

enhancement

Most helpful comment

Go 1.12 is not yet supported. I have an in-progress (unfinished) PR that will add support in #211. Some non-trivial changes are needed to add support.

All 3 comments

Go 1.12 is not yet supported. I have an in-progress (unfinished) PR that will add support in #211. Some non-trivial changes are needed to add support.

This support has just landed in the dev branch, please give it a try @Zambiorix

Release v0.5.0 now supports this, so closing this issue. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alankrantas picture alankrantas  路  4Comments

DazWilkin picture DazWilkin  路  6Comments

torntrousers picture torntrousers  路  8Comments

bradleypeabody picture bradleypeabody  路  7Comments

tranxuanthang picture tranxuanthang  路  8Comments