From 583b5583ec7d1d0ec9c25d694b38055d6ccadd82 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 28 Oct 2015 13:05:06 +0100 Subject: render annotations on types (such as @UnsafeVariance) --- test/data/format/annotatedTypeParameter.kt | 2 ++ test/data/format/annotatedTypeParameter.md | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 test/data/format/annotatedTypeParameter.kt create mode 100644 test/data/format/annotatedTypeParameter.md (limited to 'test/data/format') diff --git a/test/data/format/annotatedTypeParameter.kt b/test/data/format/annotatedTypeParameter.kt new file mode 100644 index 00000000..cc3bfc1a --- /dev/null +++ b/test/data/format/annotatedTypeParameter.kt @@ -0,0 +1,2 @@ +public fun containsAll(elements: Collection<@UnsafeVariance E>): @UnsafeVariance E { +} diff --git a/test/data/format/annotatedTypeParameter.md b/test/data/format/annotatedTypeParameter.md new file mode 100644 index 00000000..7d26a162 --- /dev/null +++ b/test/data/format/annotatedTypeParameter.md @@ -0,0 +1,8 @@ +[test](test/index) / [containsAll](test/contains-all) + + +# containsAll + +`fun <E> containsAll(elements: Collection<@UnsafeVariance E>): @UnsafeVariance E` + + -- cgit