Skip to content

cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.UnpackMap #22

@lanlin

Description

@lanlin
# github.com/google/gnostic/openapiv3
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:41:31: cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.UnpackMap
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:44:45: cannot use m (variable of type *"go.yaml.in/yaml/v3".Node) as *"gopkg.in/yaml.v3".Node value in argument to NewSchemaOrReference
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:54:46: cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.BoolForScalarNode
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:74:28: cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.Marshal
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:86:31: cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.UnpackMap
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:89:31: cannot use m (variable of type *"go.yaml.in/yaml/v3".Node) as *"gopkg.in/yaml.v3".Node value in argument to NewAny
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:100:31: cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.UnpackMap
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:103:38: cannot use m (variable of type *"go.yaml.in/yaml/v3".Node) as *"gopkg.in/yaml.v3".Node value in argument to NewExpression
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:127:30: cannot use in (variable of type *"gopkg.in/yaml.v3".Node) as *"go.yaml.in/yaml/v3".Node value in argument to compiler.UnpackMap
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:150:36: cannot use v (variable of type *"go.yaml.in/yaml/v3".Node) as *"gopkg.in/yaml.v3".Node value in argument to NewPathItem
../../../go/pkg/mod/github.com/google/gnostic@v0.7.0/openapiv3/OpenAPIv3.go:150:36: too many errors
failed to `go build`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions