-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3744 from retronym/ticket/8582
SI-8582 Pending test for InnerClasses bug in GenBCode
- Loading branch information
Showing
5 changed files
with
37 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,2 @@ | ||
class p1.p2.Singleton$Singleton$ | ||
List(class p1.p2.Singleton$Singleton$Singleton$) |
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,16 @@ | ||
package p1 { | ||
package p2 { | ||
object Singleton { | ||
object Singleton { | ||
object Singleton | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
object Test extends App { | ||
import p1.p2._ | ||
println(Singleton.Singleton.getClass) | ||
println(Singleton.Singleton.getClass.getDeclaredClasses.toList) | ||
} |
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,2 @@ | ||
class p1.p2.Singleton$Singleton$ | ||
List(class p1.p2.Singleton$Singleton$Singleton$) |
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 @@ | ||
-Ybackend:GenBCode |
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,16 @@ | ||
package p1 { | ||
package p2 { | ||
object Singleton { | ||
object Singleton { | ||
object Singleton | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
object Test extends App { | ||
import p1.p2._ | ||
println(Singleton.Singleton.getClass) | ||
println(Singleton.Singleton.getClass.getDeclaredClasses.toList) | ||
} |