Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow optional type annotations for function arguments and return value #23

Open
ikskuh opened this issue Aug 25, 2020 · 0 comments
Open
Labels
language This issue is related to language syntax or semantics. proposal This issue proposes changes to the language that are not yet accepted and need some thinking.

Comments

@ikskuh
Copy link
Owner

ikskuh commented Aug 25, 2020

Think about this:

function SumOf(a: number, b: number): number 
{
    return a + b;
}

This depends on #22, as otherwise the type annotation would not make sense.

@ikskuh ikskuh added feature New feature or request language This issue is related to language syntax or semantics. proposal This issue proposes changes to the language that are not yet accepted and need some thinking. and removed feature New feature or request labels Aug 25, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
language This issue is related to language syntax or semantics. proposal This issue proposes changes to the language that are not yet accepted and need some thinking.
Projects
None yet
Development

No branches or pull requests

1 participant