Analysis API: fix testdata of reference resolve tests which started to pass
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ abstract class AbstractReferenceResolveTest : AbstractHLApiSingleModuleTest() {
|
|||||||
else -> return nonLocalFqName.asString()
|
else -> return nonLocalFqName.asString()
|
||||||
}
|
}
|
||||||
val container = (symbol as? KtSymbolWithKind)?.getContainingSymbol() ?: return null
|
val container = (symbol as? KtSymbolWithKind)?.getContainingSymbol() ?: return null
|
||||||
val parents = generateSequence(container) { it.getContainingSymbol() }
|
val parents = generateSequence(container) { it.getContainingSymbol() }.toList().asReversed()
|
||||||
return "<local>: " + parents.joinToString(separator = ".") { (it as? KtNamedSymbol)?.name?.asString() ?: "<no name>" }
|
return "<local>: " + parents.joinToString(separator = ".") { (it as? KtNamedSymbol)?.name?.asString() ?: "<no name>" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Resolved to:
|
Resolved to:
|
||||||
0: (in test.Conflict) constructor()
|
0: (in <local>: testFoo.Conflict) constructor()
|
||||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Resolved to:
|
Resolved to:
|
||||||
0: (in test.Conflict) constructor()
|
0: (in <local>: test.Conflict) constructor()
|
||||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Resolved to:
|
Resolved to:
|
||||||
0: (in test.Conflict) constructor()
|
0: (in <local>: test.Conflict) constructor()
|
||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Resolved to:
|
Resolved to:
|
||||||
0: (in test.Conflict) constructor()
|
0: (in <local>: testFoo.Conflict) constructor()
|
||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Resolved to:
|
Resolved to:
|
||||||
0: (in test.Conflict) constructor()
|
0: (in <local>: testFoo.Conflict) constructor()
|
||||||
Reference in New Issue
Block a user