aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 02:29:55 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 02:29:55 +0400
commite155d101a52f62b0c8c10778fdf0068549b413be (patch)
tree9ebd12c36837440a7ee269835fdcef02586a74d1 /test
parent1fc4fca76592bb540f9ed124fa8be4b991dfafeb (diff)
downloaddokka-e155d101a52f62b0c8c10778fdf0068549b413be.tar.gz
dokka-e155d101a52f62b0c8c10778fdf0068549b413be.tar.bz2
dokka-e155d101a52f62b0c8c10778fdf0068549b413be.zip
Implement resolution scope chaining for all scopes except imported packages.
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>())