You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// commonexpectclassC() {
/** * Fun f for common*/funf(p1:String)
}
// JVMactualclassC actual constructor() {
/** * Fun f for JVM*/actualfunf(p1:String){}
funf(p1:Int){}
}
// another platformactualclassC actual constructor() {
/** * Fun f for another*/actualfunf(p1:String){}
}
On the first opening of the class C page we will see (content for JVM is shown under Common)
After the tabs switching the content changed to expected:
N.B: it depends on how the function overridden, e.g. if we add fun f(p1: String, p2: Short){} everything will be fine
Dokka: 1.7.20
Option mergeImplicitExpectActualDeclarations = true is used
The text was updated successfully, but these errors were encountered:
atyrin
changed the title
Invalid platform tab content on page load
Invalid default platform tab content on page load for merged declarations
Jan 9, 2023
My minimal reproducer includes:
Sample:
On the first opening of the class
C
page we will see (content for JVM is shown under Common)After the tabs switching the content changed to expected:
N.B: it depends on how the function overridden, e.g. if we add
fun f(p1: String, p2: Short){}
everything will be fineDokka: 1.7.20
Option
mergeImplicitExpectActualDeclarations = true
is usedThe text was updated successfully, but these errors were encountered: