Skip to content

errWrap to a internal interface #2236

@xushiwei

Description

@xushiwei

The following program sample.gop triggers an unexpected result

// add a sample

import "gop/x/gopprojs"

projs := gopprojs.parseAll(pattern...)!
for proj in projs {
    // ...
}

Expected result

OK

Got

cannot use gopprojs.ParseAll(pattern...) (value of type []interface{projObj()}) as []interface{projObj()} value in assignment

Gop Version

v1.3.7

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions