Add quickfix for changing primitive cast to primitive conversion method

Fixes #KT-15564
This commit is contained in:
Kirill Rakhman
2017-01-06 17:31:01 +01:00
committed by Mikhail Glukhikh
parent 2b54f1ac72
commit a0491d5258
10 changed files with 138 additions and 2 deletions
@@ -0,0 +1,5 @@
// "Replace cast with call to 'toShort()'" "true"
fun foo(c: Char) {
val a = c as<caret> Short
}