What about allowing to write `val kotlinVersion: S...
# language-proposals
s
What about allowing to write
val kotlinVersion: String by extra = "1.1.0-beta-38”
or
val kotlinVersion: String = "1.1.0-beta-38” by extra
instead of forcing users to write that with 2 lines with a
var
even if that's an immutable value (my use case is Gradle build files):
Copy code
var kotlinVersion: String by extra
kotlinVersion = "1.1.0-beta-38"