Hi, seems IDE navigation isn't working starting wi...
# kotlin-native
n
Hi, seems IDE navigation isn't working starting with 1.3.60-eap-9 at least in the iosMain package.
a
Hello! Is this relevant for
.eap-23
, that was released yesterday? One can find it here https://github.com/JetBrains/kotlin/releases
n
I've also tried
eap-24
multiplatform gradle plugin, but it doesn't work either https://dl.bintray.com/kotlin/kotlin-dev/org/jetbrains/kotlin/kotlin-gradle-plugin/
a
Please try to change the Tools->Kotlin->Update Channel to EAP 1.3.x.
n
well, autocomplete works, but 'Go to definition' feature still doesn't work for the Native API.
also looks like expected/actual navigation is broken
a
Please also try to File->Invalidate Caches/Restart. If it won’t help, please try to minimize the project and share here or by DM.
a
I've sent a report, but miss the report id...
Copy code
Error while indexing /Users/subprogram/Documents/workspace/GuitarSongs_new/MobileApp/coremodule/build/classes/kotlin/iOS/main/coremodule.klib!/linkdata/package_ru.subprogram.guitarsongs.core.screens.base.presenters/0_presenters.knm
To reindex this file IDEA has to be restarted

java.lang.AssertionError: 1 trailing arguments were found in Any<E> type
	at org.jetbrains.kotlin.descriptors.TypeParameterUtilsKt.buildPossiblyInnerType(typeParameterUtils.kt:87)
	at org.jetbrains.kotlin.descriptors.TypeParameterUtilsKt.buildPossiblyInnerType(typeParameterUtils.kt:76)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderTypeConstructorAndArguments(DescriptorRendererImpl.kt:267)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderTypeConstructorAndArguments$default(DescriptorRendererImpl.kt:265)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderDefaultType(DescriptorRendererImpl.kt:251)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderSimpleType(DescriptorRendererImpl.kt:181)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderNormalizedTypeAsIs(DescriptorRendererImpl.kt:156)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderNormalizedType(DescriptorRendererImpl.kt:134)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderType(DescriptorRendererImpl.kt:116)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.renderProperty(DescriptorRendererImpl.kt:896)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.access$renderProperty(DescriptorRendererImpl.kt:30)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl$RenderDeclarationDescriptorVisitor.visitPropertyDescriptor(DescriptorRendererImpl.kt:1068)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl$RenderDeclarationDescriptorVisitor.visitPropertyDescriptor(DescriptorRendererImpl.kt:1058)
	at org.jetbrains.kotlin.descriptors.impl.PropertyDescriptorImpl.accept(PropertyDescriptorImpl.java:516)
	at org.jetbrains.kotlin.renderer.DescriptorRendererImpl.render(DescriptorRendererImpl.kt:570)
	at org.jetbrains.kotlin.idea.decompiler.textBuilder.BuildDecompiledTextKt$buildDecompiledText$3.invoke(buildDecompiledText.kt:80)
	at org.jetbrains.kotlin.idea.decompiler.textBuilder.BuildDecompiledTextKt$buildDecompiledText$3.invoke$default(buildDecompiledText.kt:69)
	at org.jetbrains.kotlin.idea.decompiler.textBuilder.BuildDecompiledTextKt$buildDecompiledText$3.invoke(buildDecompiledText.kt:155)
	at org.jetbrains.kotlin.idea.decompiler.textBuilder.BuildDecompiledTextKt$buildDecompiledText$3.invoke$default(buildDecompiledText.kt:69)
	at org.jetbrains.kotlin.idea.decompiler.textBuilder.BuildDecompiledTextKt.buildDecompiledText(buildDecompiledText.kt:175)
	at org.jetbrains.kotlin.idea.decompiler.textBuilder.BuildDecompiledTextKt.buildDecompiledText$default(buildDecompiledText.kt:51)
	at org.jetbrains.kotlin.ide.konan.decompiler.KotlinNativeMetadataDecompilerBaseKt.decompiledText(KotlinNativeMetadataDecompilerBase.kt:134)
	at org.jetbrains.kotlin.ide.konan.decompiler.KotlinNativeMetadataStubBuilder.buildFileStub(KotlinNativeMetadataStubBuilder.kt:40)
	at com.intellij.psi.impl.compiled.ClassFileStubBuilder.buildStubTree(ClassFileStubBuilder.java:45)
	at com.intellij.psi.impl.compiled.ClassFileStubBuilder.buildStubTree(ClassFileStubBuilder.java:25)
	at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:61)
	at com.intellij.psi.stubs.StubUpdatingIndex$2.lambda$computeValue$0(StubUpdatingIndex.java:130)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:932)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
	at com.intellij.psi.stubs.StubUpdatingIndex$2.computeValue(StubUpdatingIndex.java:112)
	at com.intellij.psi.stubs.StubUpdatingIndex$2.computeValue(StubUpdatingIndex.java:108)
	at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:40)
....
a
Hello @Alexander Suslov! Thank you for the report. It also would be helpful, if you can describe some step-by-step way to get this error.
a
@Artyom Degtyarev [JB] I didn't do anything special 🙂 1. Clicked on the "Invalidate Caches / Restart..." menu item 2. Waited while Idea was restarting 3. Closed the "Unsupported modules" warning popup 4. Clicked in the Editor area (there were only 1 tab with iOs "actual class" declaration) and this "Report" popup was appeared The exception was different, but the issue with navigation is the same. Submitted as 5278687.
d
@Alexander Suslov Could you please also specify the full version of your IDE and the name of your OS (Windows/MacOS/etc)?
a
@dmitriy.dolovov IntelliJ IDEA 2019.2.3 (Ultimate Edition) Build #UI-192.6817.14, build on September 24, 2019 MacOS Mojave Version 10.14.6