diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 01:12:42 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 01:12:42 +0400 |
commit | 046265ea04b645b4f8ff835aa6c3ff9879501aed (patch) | |
tree | 27856cad58e73c95978c16e264beed806047b9e7 /test | |
parent | 2f4e56d77ac72c3f47cd2799094b1b987b0d9522 (diff) | |
download | dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.tar.gz dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.tar.bz2 dokka-046265ea04b645b4f8ff835aa6c3ff9879501aed.zip |
Add Owner references, cleanup
Diffstat (limited to 'test')
-rw-r--r-- | test/playground.kt | 17 |
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() { } } |