Skip to content

Support type inference? #3

Closed
Closed
@dtysky

Description

@dtysky

Hi.

In current time we know that typescript has a great ability to do type inference and we benefit a lot from it, etc:

export function test(i: number) {
    return i++;
}

Typescript will know that the result of test is number.

Lot of my projects are all strictly typed using type inference, but not explicit declaration, they could not pass your type checking.

Not only the typescript, c++, c#, and many modern languages are supporting type inference, and they could be compiled to wasm now or future. So could asc support it?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions