Instance var inline initialization #192
s-hadinger
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I have considered this feature, but it does not seem to be implemented. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm bringing back an old idea, ability to do:
Instead of putting all this in the
init()
method. However I didn't find a simple elegant way to do it. I believe that it implies to implement a newpreinit()
-like function that runs the initialization code first, and handling inheritance might be complex.Beta Was this translation helpful? Give feedback.
All reactions