aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/playground.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/playground.kt b/test/playground.kt
index 502d5efd..291419d1 100644
--- a/test/playground.kt
+++ b/test/playground.kt
@@ -29,7 +29,7 @@ class Class {
* This is a class with constructor and space after doc
*/
-class ClassWithConstructor(/** Doc at parameter */ val name: String)
+class ClassWithConstructor(/** Doc at parameter */ val name: Class)
/**
* This is data class $Person with constructor and two properties
@@ -37,7 +37,7 @@ class ClassWithConstructor(/** Doc at parameter */ val name: String)
* $name: Person's name
* $age: Person's age
*/
-data class Person(val name: String, val age: Int) {}
+data class Person(val name: ClassWithConstructor, val age: Int) {}
object Object {
throws(javaClass<IllegalArgumentException>())