alecthomas / alecthomas/kong-hcl

Compile error

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The changes in commit alecthomas/kong@b68e1aba6340deb6b378f3a3fc241a0cc871b4c6 means that this module no longer compiles.

`../go/pkg/mod/github.com/alecthomas/kong-hcl@v1.0.0/loader.go:90:18: invalid operation: node.Group != "" (mismatched types *kong.Group and string)
../go/pkg/mod/github.com/alecthomas/kong-hcl@v1.0.0/loader.go:91:22: cannot use node.Group (type *kong.Group) as type string in append
../go/pkg/mod/github.com/alecthomas/kong-hcl@v1.0.0/loader.go:131:16: invalid operation: flag.Group != "" (mismatched types *kong.Group and string)
../go/pkg/mod/github.com/alecthomas/kong-hcl@v1.0.0/loader.go:132:30: cannot use flag.Group (type *kong.Group) as type string in slice literal`

and for v2

`../go/pkg/mod/github.com/alecthomas/kong-hcl/v2@v2.0.0/loader.go:217:18: invalid operation: node.Group != "" (mismatched types *kong.Group and string)
../go/pkg/mod/github.com/alecthomas/kong-hcl/v2@v2.0.0/loader.go:218:22: cannot use node.Group (type *kong.Group) as type string in append
../go/pkg/mod/github.com/alecthomas/kong-hcl/v2@v2.0.0/loader.go:258:16: invalid operation: flag.Group != "" (mismatched types *kong.Group and string)
../go/pkg/mod/github.com/alecthomas/kong-hcl/v2@v2.0.0/loader.go:259:30: cannot use flag.Group (type *kong.Group) as type string in slice literal`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.