Create an ability to initialize a variable inline #537
JankoJerinic
started this conversation in
Feature Request!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Instead of having to:
it would be nice to have the ability to declare and initialize inline:
If a type can be inferred from the expression, then the explicit type can be omitted, but let's take it one step at a time.
This could also open the door for immutable
val
objects.Beta Was this translation helpful? Give feedback.
All reactions