Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uptype parameter inference #45
Labels
Comments
This comment has been minimized.
This comment has been minimized.
Add automatic parameter instantiation. Closed by a7eeeb5. |
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
Currently if you have a function
f[T](T t)
you have to call it with explicittype parameters, such as
f[int](10)
orf[char]('a')
. This is not generallynecessary given the restricted set of contexts in which we permit type
parameters; the type inference system should be able to infer parameters.
Implement this.