test what happens if function is imported two times
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// FILE: a.jet
|
||||
|
||||
package weatherForecast
|
||||
|
||||
fun weatherToday() = "snow"
|
||||
|
||||
// FILE: b.jet
|
||||
|
||||
package myApp
|
||||
|
||||
import weatherForecast.weatherToday
|
||||
import weatherForecast.weatherToday
|
||||
|
||||
fun needUmbrella() = weatherToday() == "rain"
|
||||
@@ -0,0 +1,14 @@
|
||||
// FILE: a.jet
|
||||
|
||||
package weatherForecast
|
||||
|
||||
fun weatherToday() = "snow"
|
||||
|
||||
// FILE: b.jet
|
||||
|
||||
package myApp
|
||||
|
||||
import weatherForecast.*
|
||||
import weatherForecast.*
|
||||
|
||||
fun needUmbrella() = weatherToday() == "rain"
|
||||
Reference in New Issue
Block a user