diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-11-24 15:10:08 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-11-24 15:10:08 +0300 |
commit | f0a80372cb6fd11cb8326408e0f8429fd97e5de8 (patch) | |
tree | f28d20d3bea184f4d206d891f9d5627de31c77ea /core | |
parent | 31c563355515b9d3983edb20064960786ed502a7 (diff) | |
download | dokka-f0a80372cb6fd11cb8326408e0f8429fd97e5de8.tar.gz dokka-f0a80372cb6fd11cb8326408e0f8429fd97e5de8.tar.bz2 dokka-f0a80372cb6fd11cb8326408e0f8429fd97e5de8.zip |
Fixed test
Diffstat (limited to 'core')
-rw-r--r-- | core/testdata/format/multipleTypeParameterConstraints.kt | 11 | ||||
-rw-r--r-- | core/testdata/format/multipleTypeParameterConstraints.md | 12 |
2 files changed, 20 insertions, 3 deletions
diff --git a/core/testdata/format/multipleTypeParameterConstraints.kt b/core/testdata/format/multipleTypeParameterConstraints.kt index 8fd62e11..9d085c3c 100644 --- a/core/testdata/format/multipleTypeParameterConstraints.kt +++ b/core/testdata/format/multipleTypeParameterConstraints.kt @@ -1,2 +1,11 @@ -fun f<T> where T: Appendable, T: CharSequence { +interface A { + +} + +interface B { + +} + + +fun f<T> where T : A, T : B { } diff --git a/core/testdata/format/multipleTypeParameterConstraints.md b/core/testdata/format/multipleTypeParameterConstraints.md index 74532ffe..5dd45e4e 100644 --- a/core/testdata/format/multipleTypeParameterConstraints.md +++ b/core/testdata/format/multipleTypeParameterConstraints.md @@ -1,5 +1,13 @@ -[test](test/index) / [f](test/f) +[test](test/index) / [A](test/-a) + +# A + +`interface A`[test](test/index) / [B](test/-b) + +# B + +`interface B`[test](test/index) / [f](test/f) # f -`fun <T : CharSequence> f(): Unit`
\ No newline at end of file +`fun <T> f(): Unit where T : `[`A`](test/-a)`, T : `[`B`](test/-b)
\ No newline at end of file |