aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-04-28 17:55:46 +0200
committerDmitry Jemerov <yole@jetbrains.com>2016-04-28 17:55:46 +0200
commit03d567b763839323ab13d2f385395b221da06023 (patch)
tree09a60efbb9ff626f0773a823a9acf0c3a94bddb5 /core/testdata/format
parent25278e2697af68788f8efdbe32b29f0ed42f33b4 (diff)
downloaddokka-03d567b763839323ab13d2f385395b221da06023.tar.gz
dokka-03d567b763839323ab13d2f385395b221da06023.tar.bz2
dokka-03d567b763839323ab13d2f385395b221da06023.zip
SOE protection when calculating type signature. Resolves #69
Diffstat (limited to 'core/testdata/format')
-rw-r--r--core/testdata/format/linkWithStarProjection.html24
-rw-r--r--core/testdata/format/linkWithStarProjection.kt3
2 files changed, 27 insertions, 0 deletions
diff --git a/core/testdata/format/linkWithStarProjection.html b/core/testdata/format/linkWithStarProjection.html
new file mode 100644
index 00000000..0e829e80
--- /dev/null
+++ b/core/testdata/format/linkWithStarProjection.html
@@ -0,0 +1,24 @@
+<HTML>
+<HEAD>
+<title>KClassLoader - test</title>
+</HEAD>
+<BODY>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-k-class-loader/index">KClassLoader</a><br/>
+<br/>
+<h1>KClassLoader</h1>
+<code><span class="keyword">object </span><span class="identifier">KClassLoader</span></code><br/>
+<br/>
+<br/>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-k-class-loader/foo">foo</a></td>
+<td>
+<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="identifier" id="KClassLoader$foo(kotlin.Enum(()))/c">c</span><span class="symbol">:</span>&nbsp;<span class="identifier">Enum</span><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/core/testdata/format/linkWithStarProjection.kt b/core/testdata/format/linkWithStarProjection.kt
new file mode 100644
index 00000000..6da6c595
--- /dev/null
+++ b/core/testdata/format/linkWithStarProjection.kt
@@ -0,0 +1,3 @@
+object KClassLoader {
+ fun foo(c: Enum<*>) { }
+}