Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportTwoTimes.kt
T
2015-01-21 20:10:16 +03:00

15 lines
218 B
Kotlin
Vendored

// FILE: a.kt
package weatherForecast
fun weatherToday() = "snow"
// FILE: b.kt
package myApp
import weatherForecast.weatherToday
import weatherForecast.weatherToday
fun needUmbrella() = weatherToday() == "rain"