aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 19:34:52 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 19:34:52 +0400
commit68d3bc8d76e550f98cf768362eb311d0cc4f3a0d (patch)
tree5ae62771d6392ef81cf996db6b317610739b56fd /test
parent1aa62f8071939f1a2b3640e00378cd86b8599b9c (diff)
downloaddokka-68d3bc8d76e550f98cf768362eb311d0cc4f3a0d.tar.gz
dokka-68d3bc8d76e550f98cf768362eb311d0cc4f3a0d.tar.bz2
dokka-68d3bc8d76e550f98cf768362eb311d0cc4f3a0d.zip
Beautification and documentation.
Diffstat (limited to 'test')
-rw-r--r--test/playground.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/playground.kt b/test/playground.kt
index 9eb7d879..5206e10e 100644
--- a/test/playground.kt
+++ b/test/playground.kt
@@ -34,6 +34,7 @@ class ClassWithConstructor(
/**
* This is data class with constructor and two properties
+ * Also look at [Employee]
*
* $name Person's name
* $age Person's age
@@ -41,6 +42,8 @@ class ClassWithConstructor(
*/
data class Person(val name: ClassWithConstructor, val age: Int) {}
+data class Employee(val name: ClassWithConstructor, val age: Int) {}
+
object Object {
throws(javaClass<IllegalArgumentException>())
fun objectFunction() {