Skip to content

Implement a general mechanism for type parameter inference #61

@dcodeIO

Description

@dcodeIO

Type parameter inference is currently limited to builtins.

var a = 42.0;
abs(a); // works

function myFunc<T>(a: T) {}
myFunc(a); // does not work
myFunc<f64>(a); // works

Putting this here so I don't forget.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions