Moved class object case to namespace comparing test.
This commit is contained in:
@@ -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>()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user