Patched test to avoid package renaming.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
package testing.second
|
||||
package testing.rename2
|
||||
|
||||
import testing.first.Third
|
||||
import testing.rename.Third
|
||||
import testing.*
|
||||
import java.util.ArrayList
|
||||
|
||||
// Extends testing.first.Third
|
||||
// Extends testing.rename.Third
|
||||
public class Second : Third() {
|
||||
val temp : testing.first.Third = Third()
|
||||
val temp : testing.rename.Third = Third()
|
||||
|
||||
fun tempName(param : Third) : first.Third {
|
||||
fun tempName(param : Third) : rename.Third {
|
||||
val local = Third()
|
||||
val otherLocal = param
|
||||
val arr = ArrayList<Third>()
|
||||
|
||||
return testing.first.Third()
|
||||
return testing.rename.Third()
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package testing.first
|
||||
package testing.rename
|
||||
|
||||
public open class Third {
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package testing.first
|
||||
package testing.rename
|
||||
|
||||
public open class First {
|
||||
}
|
||||
@@ -1,18 +1,18 @@
|
||||
package testing.second
|
||||
package testing.rename2
|
||||
|
||||
import testing.first.First
|
||||
import testing.rename.First
|
||||
import testing.*
|
||||
import java.util.ArrayList
|
||||
|
||||
// Extends testing.first.First
|
||||
// Extends testing.rename.First
|
||||
public class Second : First() {
|
||||
val temp : testing.first.First = First()
|
||||
val temp : testing.rename.First = First()
|
||||
|
||||
fun tempName(param : First) : first.First {
|
||||
fun tempName(param : First) : rename.First {
|
||||
val local = First()
|
||||
val otherLocal = param
|
||||
val arr = ArrayList<First>()
|
||||
|
||||
return testing.first.First()
|
||||
return testing.rename.First()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user