Skip to content
This repository was archived by the owner on Jun 13, 2020. It is now read-only.
This repository was archived by the owner on Jun 13, 2020. It is now read-only.

Inference of generic parameters in generic function. #721

@kiljacken

Description

@kiljacken
pub func freeArray<T>(array: []T) {
    (_, ptr) := breakArray(array);
    rawFree(uintptr(ptr));
}

fails to compile do to inference iffyness because of i don't even in the inference part.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions