I tried using explicit backing field declarations ...
# compiler
e
I tried using explicit backing field declarations in a project using Kotlin 2.0.0, but I get the error
Explicit backing field declarations are not supported in FE 1.0
Copy code
val foo: List<String>
    field mFoo = MutableList<String>()
d
You shouldn't, the feature is not ready even for preview
e
I was just curious about it. What does it mean that it isn't supported in FE 1.0? Does that mean that the front end compiler isn't 2.0, or does that means something else?
d
It seems that you are using either language version 1.9 (which enables FE 1.0) or old IDE plugin (not K2 one), which is also uses FE 1.0
e
Oh it's the IDE plugin. That makes sense, thank you.
498 Views