From ada91f40f716b20a69d8372dc5c6e250312543f7 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 5 Jan 2016 18:01:13 +0100 Subject: render multiple type parameter constraints according to current Kotlin syntax --- core/testdata/format/multipleTypeParameterConstraints.kt | 2 ++ core/testdata/format/multipleTypeParameterConstraints.md | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 core/testdata/format/multipleTypeParameterConstraints.kt create mode 100644 core/testdata/format/multipleTypeParameterConstraints.md (limited to 'core/testdata') diff --git a/core/testdata/format/multipleTypeParameterConstraints.kt b/core/testdata/format/multipleTypeParameterConstraints.kt new file mode 100644 index 00000000..8fd62e11 --- /dev/null +++ b/core/testdata/format/multipleTypeParameterConstraints.kt @@ -0,0 +1,2 @@ +fun f where T: Appendable, T: CharSequence { +} diff --git a/core/testdata/format/multipleTypeParameterConstraints.md b/core/testdata/format/multipleTypeParameterConstraints.md new file mode 100644 index 00000000..d6b4e853 --- /dev/null +++ b/core/testdata/format/multipleTypeParameterConstraints.md @@ -0,0 +1,8 @@ +[test](test/index) / [f](test/f) + + +# f + +`fun <T> f(): Unit where T : Appendable, T : CharSequence` + + -- cgit