From f93ff9c31a815a448b03c3d76d21fd0a6d45c58d Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 10 Feb 2015 16:01:51 +0100 Subject: correctly render bounds of type parameters in declarations --- test/data/format/typeParameterBounds.kt | 6 ++++++ test/data/format/typeParameterBounds.md | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 test/data/format/typeParameterBounds.kt create mode 100644 test/data/format/typeParameterBounds.md (limited to 'test/data/format') diff --git a/test/data/format/typeParameterBounds.kt b/test/data/format/typeParameterBounds.kt new file mode 100644 index 00000000..5f22f8c5 --- /dev/null +++ b/test/data/format/typeParameterBounds.kt @@ -0,0 +1,6 @@ + +/** + * generic function + */ +public fun generic() { +} \ No newline at end of file diff --git a/test/data/format/typeParameterBounds.md b/test/data/format/typeParameterBounds.md new file mode 100644 index 00000000..f9d39e8c --- /dev/null +++ b/test/data/format/typeParameterBounds.md @@ -0,0 +1,15 @@ +[test](out.md) / [](out.md) / [generic](out.md) + + +# generic + + +``` +public fun <T : R, R> generic(): Unit +``` + + +generic function + + + -- cgit