Skip to content

bind: restore type-correctness of arguments #217

@sbinet

Description

@sbinet

before the migration to pybindgen, we could detect that arguments to a function or a method where of the expected type:

package pkg
func Foo(s string) { ... }
import "pkg"
pkg.Foo(42) ## raises an Exception

it seems this feature has been lost and wasn't caught by our testing infrastructure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions