Narrowed down property causes compilation failure #335
Labels
compilation-failure
kotlin code is generated but this code fails to be compiled
domain:override
missing overrides, redundant overrides, duplicate overrides etc.
Milestone
Consider following code:
as of now it's converted to:
Which will fail to compile with:
Let's discuss what we actually want to do in such case, because as of now I see two options:
#1 replace
override var now: () -> SpecifiedResult
with just var now: () -> Result#2 use val
We should actually thoroughly think through all this stuff - right now I'm not sure what would be a better option and even whether we are limited with only these two options.
The text was updated successfully, but these errors were encountered: