No member "Ref" on type "go.builtin.int"

Hi, I’m trying to import this module.

import (
"github.com/tidwall/gjson"
)

As per the documentation I used the command:

ebuild --import-go-project github.com/tidwall/gjson

which runs correctly without errors.

However, during the build phase it fails:

E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3223)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3223)]
E: Type mismatch [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3223)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3224)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3225)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3227)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3227)]
E: Type mismatch [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3227)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3248)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3248)]

Thanks.

1 Like

Logged as bugs://E27011.

That seems a bug. Checking

bugs://E27011 was closed as fixed.