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

Inference of generic parameters in generic function. #721

Open
kiljacken opened this issue Mar 2, 2016 · 0 comments
Open

Inference of generic parameters in generic function. #721

kiljacken opened this issue Mar 2, 2016 · 0 comments

Comments

@kiljacken
Copy link
Member

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.

@kiljacken kiljacken added this to the bootstrap milestone Mar 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant