Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/ImportTwoTimes.kt
T
Andrey Breslav 8a79e7ab7d .jet -> .kt
2013-04-12 21:06:54 +04:00

15 lines
218 B
Kotlin

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