aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/data/format/javaSupertype.html13
-rw-r--r--test/data/format/javaSupertype.java1
2 files changed, 13 insertions, 1 deletions
diff --git a/test/data/format/javaSupertype.html b/test/data/format/javaSupertype.html
index bf56936c..f49a6e0f 100644
--- a/test/data/format/javaSupertype.html
+++ b/test/data/format/javaSupertype.html
@@ -3,11 +3,22 @@
<title>test / test.C.Bar</title>
</HEAD>
<BODY>
-<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-c/index">C</a>&nbsp;/&nbsp;<a href="test/test/-c/-bar">Bar</a><br/>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-c/index">C</a>&nbsp;/&nbsp;<a href="test/test/-c/-bar/index">Bar</a><br/>
<br/>
<h1>Bar</h1>
<code><span class="keyword">public</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Bar</span><span class="symbol"> : </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a></code><br/>
<br/>
<br/>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/test/-c/-bar/return-foo">returnFoo</a></td>
+<td>
+<code><span class="keyword">public</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">returnFoo</span><span class="symbol">(</span><span class="identifier">foo</span><span class="symbol">: </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a></code></td>
+</tr>
+</tbody>
+</table>
</BODY>
</HTML>
diff --git a/test/data/format/javaSupertype.java b/test/data/format/javaSupertype.java
index 96caeb1d..295c319f 100644
--- a/test/data/format/javaSupertype.java
+++ b/test/data/format/javaSupertype.java
@@ -5,5 +5,6 @@ class C {
}
public static class Bar extends Foo {
+ public Foo returnFoo(Foo foo) { return foo; }
}
}