-
-
Notifications
You must be signed in to change notification settings - Fork 670
Support type inference? #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Thanks, remaining parts are covered by #61, while I'd currently prefer to keep explicit return types. |
willemneal
pushed a commit
to willemneal/assemblyscript
that referenced
this issue
Dec 22, 2018
…ased-threads-wait-wake-integration Feature/worker based threads wait wake integration
MaxGraey
pushed a commit
that referenced
this issue
Jul 20, 2022
It is also possible to infer parameter types and return types using the v8 JavaScript engine's type profiler. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
In current time we know that typescript has a great ability to do type inference and we benefit a lot from it, etc:
Typescript will know that the result of
test
isnumber
.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.
The text was updated successfully, but these errors were encountered: