diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-05 17:43:40 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-05 17:43:40 +0100 |
commit | 9b9b689d67a20abb52fcde5ed4655d9a5092b8df (patch) | |
tree | f0ac5e76533d4ab911f424adbfb0179e66f47c57 /core/testdata | |
parent | efd848a7d5f5f241de4696d34a500d76f51b3cbc (diff) | |
download | dokka-9b9b689d67a20abb52fcde5ed4655d9a5092b8df.tar.gz dokka-9b9b689d67a20abb52fcde5ed4655d9a5092b8df.tar.bz2 dokka-9b9b689d67a20abb52fcde5ed4655d9a5092b8df.zip |
always include type parameters in the signature of a type
Diffstat (limited to 'core/testdata')
-rw-r--r-- | core/testdata/format/arrayAverage.kt | 8 | ||||
-rw-r--r-- | core/testdata/format/arrayAverage.md | 25 |
2 files changed, 33 insertions, 0 deletions
diff --git a/core/testdata/format/arrayAverage.kt b/core/testdata/format/arrayAverage.kt new file mode 100644 index 00000000..1f9e12db --- /dev/null +++ b/core/testdata/format/arrayAverage.kt @@ -0,0 +1,8 @@ +class XArray<T> + +fun XArray<out Byte>.average(): Double = 0.0 +fun XArray<out Double>.average(): Double = 0.0 +fun XArray<out Float>.average(): Double = 0.0 +fun XArray<out Int>.average(): Double = 0.0 +fun XArray<out Long>.average(): Double = 0.0 +fun XArray<out Short>.average(): Double = 0.0 diff --git a/core/testdata/format/arrayAverage.md b/core/testdata/format/arrayAverage.md new file mode 100644 index 00000000..9ffa3650 --- /dev/null +++ b/core/testdata/format/arrayAverage.md @@ -0,0 +1,25 @@ +[test](test/index) / [XArray](test/-x-array/index) + + +# XArray + +`class XArray<T>` + + + +### Constructors + + +| [<init>](test/-x-array/-init-) | `XArray()` | + + +### Extension Functions + + +| [average](test/average) | `fun [XArray](test/-x-array/index)<out Byte>.average(): Double` +`fun [XArray](test/-x-array/index)<out Double>.average(): Double` +`fun [XArray](test/-x-array/index)<out Float>.average(): Double` +`fun [XArray](test/-x-array/index)<out Int>.average(): Double` +`fun [XArray](test/-x-array/index)<out Long>.average(): Double` +`fun [XArray](test/-x-array/index)<out Short>.average(): Double` | + |