Java to Kotlin conversion: fixed test data
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
class A {
|
class A {
|
||||||
fun someOther() = false
|
fun someOther() = false
|
||||||
|
|
||||||
private fun formatElement(var element: PsiElement): String {
|
private fun formatElement(element: PsiElement): String {
|
||||||
element = JetPsiUtil.ascendIfPropertyAccessor(element)
|
element = JetPsiUtil.ascendIfPropertyAccessor(element)
|
||||||
if (element is JetNamedFunction || element is JetProperty) {
|
if (element is JetNamedFunction || element is JetProperty) {
|
||||||
val bindingContext = AnalyzerFacadeWithCache.analyzeFileWithCache(element.getContainingJetFile()).getBindingContext()
|
val bindingContext = AnalyzerFacadeWithCache.analyzeFileWithCache(element.getContainingJetFile()).getBindingContext()
|
||||||
|
|||||||
Reference in New Issue
Block a user