Closed Bug 566518 Opened 16 years ago Closed 16 years ago

type parameter inference

Categories

(Servo Graveyard :: Rust, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: graydon, Unassigned)

Details

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.
Moved to github issue #45.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Group: servo
You need to log in before you can comment on or make changes to this bug.