Moved class object case to namespace comparing test.

This commit is contained in:
Evgeny Gerashchenko
2012-12-26 22:25:16 +04:00
parent 0ce1c56999
commit 862a6ffbbc
7 changed files with 65 additions and 85 deletions
@@ -1,8 +0,0 @@
trait TheTrait {
class object {
}
}
//internal trait TheTrait defined in root package
//internal class object defined in TheTrait
//private constructor <class-object-for-TheTrait>() defined in TheTrait.<class-object-for-TheTrait>
@@ -1,7 +0,0 @@
namespace <root>
internal abstract trait TheTrait : jet.Any {
internal final object TheTrait.<no name provided> : jet.Any {
internal final /*constructor*/ fun <init>(): TheTrait.<no name provided>
}
}
@@ -0,0 +1,6 @@
package test
trait TheTrait {
class object {
}
}
@@ -0,0 +1,8 @@
package test
internal trait TheTrait {
internal class object <class-object-for-TheTrait> {
/*primary*/ private constructor <class-object-for-TheTrait>()
}
}