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,6 @@
// "Replace cast with call to 'toInt()'" "false"
// WARNING: Cast can never succeed
fun foo() {
val a = true as<caret> Int
}