[FIR] Add RedundantCallOfConversionMethod checker

This commit is contained in:
vldf
2020-07-29 11:50:34 +03:00
committed by Mikhail Glukhikh
parent 39d4b79324
commit cfc09048c6
44 changed files with 378 additions and 2 deletions
@@ -0,0 +1,4 @@
// WITH_RUNTIME
fun test(i: UInt) {
val foo = i.<!REDUNDANT_CALL_OF_CONVERSION_METHOD!>toUInt()<!>
}