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

type parameter inference #45

Closed
graydon opened this issue Jun 22, 2010 · 1 comment
Labels

Comments

@graydon
Copy link
Contributor

@graydon graydon commented Jun 22, 2010

Currently if you have a function f[T](T t) you have to call it with explicit
type parameters, such as f[int](10) or f[char]('a'). This is not generally
necessary given the restricted set of contexts in which we permit type
parameters; the type inference system should be able to infer parameters.

Implement this.

@pcwalton

This comment has been minimized.

Copy link
Contributor

@pcwalton pcwalton commented Aug 26, 2010

Add automatic parameter instantiation. Closed by a7eeeb5.

mbrubeck pushed a commit to mbrubeck/rust that referenced this issue Oct 17, 2011
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
Discuss unambiguous function call syntax
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.