forked from JetBrains/kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#KT-1973 Fixed
- Loading branch information
Evgeny Gerashchenko
authored and
Evgeny Gerashchenko
committed
Oct 3, 2012
1 parent
f33669b
commit 22e62c5
Showing
6 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package test | ||
|
||
public object Obj { | ||
public val v: String = "val" | ||
public fun f(): String = "fun" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace test | ||
|
||
public final object test.Obj : jet.Any { | ||
private final /*constructor*/ fun <init>(): test.Obj | ||
public final fun f(): jet.String | ||
public final val v: jet.String | ||
} | ||
public final val Obj: test.Obj |
8 changes: 8 additions & 0 deletions
8
compiler/testData/loadKotlin/class/NamedObjectWithAnotherTopLevelProperty.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package test | ||
|
||
public object Obj { | ||
public val v: String = "val" | ||
public fun f(): String = "fun" | ||
} | ||
|
||
val x = 5 |
9 changes: 9 additions & 0 deletions
9
compiler/testData/loadKotlin/class/NamedObjectWithAnotherTopLevelProperty.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace test | ||
|
||
public final object test.Obj : jet.Any { | ||
private final /*constructor*/ fun <init>(): test.Obj | ||
public final fun f(): jet.String | ||
public final val v: jet.String | ||
} | ||
public final val Obj: test.Obj | ||
internal final val x: jet.Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters