Skip to content

Commit

Permalink
[Test] Tidy up nested type aliases test data
Browse files Browse the repository at this point in the history
  • Loading branch information
KvanTTT authored and Space Team committed Jan 8, 2025
1 parent 15e0695 commit 52d00a4
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 73 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FILE: nestedTypeAliasWithInnerRHS.kt
FILE: innerRHS.kt
public open class Outer : R|kotlin/Any| {
public constructor(): R|Outer| {
super<R|kotlin/Any|>()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FILE: nestedTypeAliasVisibility.kt
FILE: visibility.kt
public final class Class : R|kotlin/Any| {
public constructor(): R|Class| {
super<R|kotlin/Any|>()
Expand Down Expand Up @@ -67,8 +67,6 @@ FILE: nestedTypeAliasVisibility.kt
}

}
private final typealias PrivateOuterTA = R|OuterClass.InnerClass|
public final typealias PublicOuterTA = R|OuterClass.InnerClass|
public final class OuterClassInheritor : R|OuterClass| {
public constructor(): R|OuterClassInheritor| {
super<R|OuterClass|>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ open class OuterClass {
}
}

private typealias PrivateOuterTA = OuterClass.InnerClass
typealias PublicOuterTA = OuterClass.InnerClass

class OuterClassInheritor : OuterClass() {
fun testProtected() {
<!INVISIBLE_REFERENCE!>PrivateTAInner<!>() // ERROR (invisible)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 52d00a4

Please sign in to comment.