Open vlad20012 opened 7 years ago
In Kotlin we have specific highlighting for smart casts and a tooltips about it
I want the same for non-trivial deref coercions and reference coercions.
I.e. in this case at the line
WrapperWrapper(RefWrapper(w))
w implicitly coerces to &u32 that may be done explicitly via &**w.
w
&u32
&**w
I think, the same can be applied for a regular dot exprs.
FYI I made a WIP commit with this feature about an year ago =) There was some problems, so I postponed it.
In Kotlin we have specific highlighting for smart casts and a tooltips about it
I want the same for non-trivial deref coercions and reference coercions.
I.e. in this case at the line
w
implicitly coerces to&u32
that may be done explicitly via&**w
.I think, the same can be applied for a regular dot exprs.