Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer template parameters the same way we deduce generics #961

Open
alexnask opened this issue Dec 7, 2015 · 0 comments
Open

Infer template parameters the same way we deduce generics #961

alexnask opened this issue Dec 7, 2015 · 0 comments

Comments

@alexnask
Copy link
Collaborator

alexnask commented Dec 7, 2015

For example, make this work:

Foo: cover template <T> {
    val: T

    init: func@ (=val)
}

foo := Foo new(42)
@alexnask alexnask changed the title Deduce template in the same way we deduce generics Infer template parameters in the same way we deduce generics Dec 7, 2015
@alexnask alexnask changed the title Infer template parameters in the same way we deduce generics Infer template parameters the same way we deduce generics Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant