Add quickfix for changing primitive cast to primitive conversion method
Fixes #KT-15564
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2b54f1ac72
commit
a0491d5258
@@ -0,0 +1,5 @@
|
||||
// "Replace cast with call to 'toShort()'" "true"
|
||||
|
||||
fun foo(c: Char) {
|
||||
val a = c.toShort()<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user