diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-21 15:05:04 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-21 15:05:04 +0300 |
commit | 80bde3cb243b324df162a16d23f9dfd3e0ab2597 (patch) | |
tree | df51e7c315769155ca2a87fea6e18e0e5a687c91 /core/testdata/format | |
parent | 924832f8ae7a38ad7c6b105c04794195bf9d4f9f (diff) | |
download | dokka-80bde3cb243b324df162a16d23f9dfd3e0ab2597.tar.gz dokka-80bde3cb243b324df162a16d23f9dfd3e0ab2597.tar.bz2 dokka-80bde3cb243b324df162a16d23f9dfd3e0ab2597.zip |
Fix find node by signature when linking to extension with Type Param
Diffstat (limited to 'core/testdata/format')
-rw-r--r-- | core/testdata/format/extensionScope.kt | 14 | ||||
-rw-r--r-- | core/testdata/format/extensionScope.md | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/core/testdata/format/extensionScope.kt b/core/testdata/format/extensionScope.kt new file mode 100644 index 00000000..9f3130b8 --- /dev/null +++ b/core/testdata/format/extensionScope.kt @@ -0,0 +1,14 @@ +/** + * Test class with Type-parameter + */ +class Foo<T> + +/** + * Some extension on Foo + */ +fun <T> Foo<T>.ext() {} + +/** + * Correct link: [Foo.ext] + */ +fun test() {}
\ No newline at end of file diff --git a/core/testdata/format/extensionScope.md b/core/testdata/format/extensionScope.md new file mode 100644 index 00000000..3515ed84 --- /dev/null +++ b/core/testdata/format/extensionScope.md @@ -0,0 +1,8 @@ +[test](test/index) / [test](test/test) + +# test + +`fun test(): Unit` + +Correct link: [Foo.ext](test/ext) + |