aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-02-18 11:59:52 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-18 17:15:14 +0100
commit91b5b4cc19a4ef6155cadba04ad016625402b00e (patch)
tree2d21246ee42c1f6b6de73794387f899bb4f72801 /plugins/base/src/test
parent64b5d214a61dd7964ddad46f3c91475336063d78 (diff)
downloaddokka-91b5b4cc19a4ef6155cadba04ad016625402b00e.tar.gz
dokka-91b5b4cc19a4ef6155cadba04ad016625402b00e.tar.bz2
dokka-91b5b4cc19a4ef6155cadba04ad016625402b00e.zip
Fixes not recognizing star projection in dris
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r--plugins/base/src/test/kotlin/basic/DRITest.kt15
1 files changed, 6 insertions, 9 deletions
diff --git a/plugins/base/src/test/kotlin/basic/DRITest.kt b/plugins/base/src/test/kotlin/basic/DRITest.kt
index c7dc85fb..eb65c47b 100644
--- a/plugins/base/src/test/kotlin/basic/DRITest.kt
+++ b/plugins/base/src/test/kotlin/basic/DRITest.kt
@@ -130,26 +130,23 @@ class DRITest : AbstractCoreTest() {
configuration
) {
pagesGenerationStage = { module ->
- // DRI(//qux/Foo[TypeParam(bounds=[kotlin.Comparable[kotlin.Any?]]),kotlin.Any?]#//)
+ // DRI(//qux/Foo[TypeParam(bounds=[kotlin.Comparable[kotlin.Any?]]),*]#//)
val expectedDRI = DRI(
"",
null,
Callable(
- "qux",
- TypeConstructor(
- "Foo",
- listOf(
+ "qux", TypeConstructor(
+ "Foo", listOf(
TypeParam(
listOf(
TypeConstructor(
- "kotlin.Comparable",
- listOf(
+ "kotlin.Comparable", listOf(
Nullable(TypeConstructor("kotlin.Any", emptyList()))
)
)
)
),
- Nullable(TypeConstructor("kotlin.Any", emptyList()))
+ StarProjection
)
),
emptyList()
@@ -165,4 +162,4 @@ class DRITest : AbstractCoreTest() {
}
}
}
-} \ No newline at end of file
+}