8000 Inference of generic parameters in generic function. · Issue #721 · ark-lang/ark · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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
Open
@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

      0