From 586748b30a21012774266dac3c8f2fa6fe3ab2b8 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 28 Apr 2016 12:29:16 +0200 Subject: give some descriptions to type parameters to test rendering better --- core/testdata/format/typeParameterBounds.kt | 1 + core/testdata/format/typeParameterBounds.md | 4 ++++ core/testdata/format/typeParameterVariance.kt | 3 +++ core/testdata/format/typeParameterVariance.md | 4 ++++ 4 files changed, 12 insertions(+) (limited to 'core/testdata') diff --git a/core/testdata/format/typeParameterBounds.kt b/core/testdata/format/typeParameterBounds.kt index 5f22f8c5..8604e3b9 100644 --- a/core/testdata/format/typeParameterBounds.kt +++ b/core/testdata/format/typeParameterBounds.kt @@ -1,6 +1,7 @@ /** * generic function + * @param T the first type parameter */ public fun generic() { } \ No newline at end of file diff --git a/core/testdata/format/typeParameterBounds.md b/core/testdata/format/typeParameterBounds.md index fe597878..e2551580 100644 --- a/core/testdata/format/typeParameterBounds.md +++ b/core/testdata/format/typeParameterBounds.md @@ -8,4 +8,8 @@ generic function +### Parameters + +`T` - the first type parameter + diff --git a/core/testdata/format/typeParameterVariance.kt b/core/testdata/format/typeParameterVariance.kt index 28b29f4b..d45e7eb3 100644 --- a/core/testdata/format/typeParameterVariance.kt +++ b/core/testdata/format/typeParameterVariance.kt @@ -1,2 +1,5 @@ +/** + * @param T the class parameter type + */ class Foo { } diff --git a/core/testdata/format/typeParameterVariance.md b/core/testdata/format/typeParameterVariance.md index c0bfa6de..241c2e87 100644 --- a/core/testdata/format/typeParameterVariance.md +++ b/core/testdata/format/typeParameterVariance.md @@ -5,6 +5,10 @@ `class Foo<out T>` +### Parameters + +`T` - the class parameter type + ### Constructors -- cgit