From f8704c63e7ba267beb9370bc22ff96dde75b0f9f Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 26 Feb 2015 16:56:16 +0100 Subject: variance modifiers for type parameters are separate modifier nodes, not part of the type name --- test/data/format/typeParameterVariance.kt | 2 ++ test/data/format/typeParameterVariance.md | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 test/data/format/typeParameterVariance.kt create mode 100644 test/data/format/typeParameterVariance.md (limited to 'test/data') diff --git a/test/data/format/typeParameterVariance.kt b/test/data/format/typeParameterVariance.kt new file mode 100644 index 00000000..28b29f4b --- /dev/null +++ b/test/data/format/typeParameterVariance.kt @@ -0,0 +1,2 @@ +class Foo { +} diff --git a/test/data/format/typeParameterVariance.md b/test/data/format/typeParameterVariance.md new file mode 100644 index 00000000..a46929ce --- /dev/null +++ b/test/data/format/typeParameterVariance.md @@ -0,0 +1,14 @@ +[test](test/index) / [Foo](test/-foo/index) + + +# Foo + +`class Foo<out T> ` + + + +### Constructors + + +| [<init>](test/-foo/-init-) | `public Foo()` | + -- cgit