Skip to content

Another example of Typl inference #40

@getify

Description

@getify
function foo(v) {
    return v;
}

var x = foo(2);
x = "hello";  // error: expected 'int' but found 'string'

Metadata

Metadata

Assignees

No one assigned

    Labels

    cool-exampleSomething very interesting to look at

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions