aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 01:12:42 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 01:12:42 +0400
commit046265ea04b645b4f8ff835aa6c3ff9879501aed (patch)
tree27856cad58e73c95978c16e264beed806047b9e7 /test
parent2f4e56d77ac72c3f47cd2799094b1b987b0d9522 (diff)
downloaddokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.tar.gz
dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.tar.bz2
dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.zip
Add Owner references, cleanup
Diffstat (limited to 'test')
-rw-r--r--test/playground.kt17
1 files changed, 10 insertions, 7 deletions
diff --git a/test/playground.kt b/test/playground.kt
index 38fd4a3f..502d5efd 100644
--- a/test/playground.kt
+++ b/test/playground.kt
@@ -29,15 +29,15 @@ class Class {
* This is a class with constructor and space after doc
*/
-class ClassWithConstructor(val name: String)
+class ClassWithConstructor(/** Doc at parameter */ val name: String)
/**
- * This is data class with constructor and comment after doc
- * $name Person's name
- * $age Person's age
+ * This is data class $Person with constructor and two properties
+ *
+ * $name: Person's name
+ * $age: Person's age
*/
-// irrelevant comment
-data class Person(/** Doc at parameter */ val name: String, val age: Int) {}
+data class Person(val name: String, val age: Int) {}
object Object {
throws(javaClass<IllegalArgumentException>())
@@ -52,7 +52,10 @@ object Object {
class OuterClass {
- class NestedClass {
+ /**
+ * $T: type of the item
+ */
+ class NestedClass<T> {
fun nestedClassFunction() {
}
}