Files
kotlin-fork/idea/testData/copyPaste/conversion/ConversionInCorrectContext.expected.kt
T
Valentin Kipyatkov bf0798ca86 Added test
2015-04-07 00:00:29 +03:00

4 lines
172 B
Kotlin

fun foo(p: Dependency): Double {
return p.getInt().toDouble() // explicit conversion to Double must be added on conversion (if type Dependency) is correctly resolved
}