One more test for import nested classes setting

This commit is contained in:
Valentin Kipyatkov
2015-04-10 19:03:08 +03:00
parent 04b2bdcc79
commit a8d737bf87
4 changed files with 25 additions and 0 deletions
@@ -0,0 +1,7 @@
class A {
public class B {
public B(String s) {
}
}
}
@@ -0,0 +1,5 @@
// IMPORT_NESTED_CLASSES: true
fun bar(s: String) {
<selection>val t: A.B = A().B(s)</selection>
}
@@ -0,0 +1,7 @@
// IMPORT_NESTED_CLASSES: true
import A.B
fun bar(s: String) {
val t: B = A().B(s)
}