From e155d101a52f62b0c8c10778fdf0068549b413be Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Sat, 12 Jul 2014 02:29:55 +0400 Subject: Implement resolution scope chaining for all scopes except imported packages. --- test/playground.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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()) -- cgit