-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
…LIASES_ONLY` is reported ^KT-73088 Fixed
- Loading branch information
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FILE: simple.kt | ||
public final class A : R|kotlin/Any| { | ||
public constructor(): R|A| { | ||
super<R|kotlin/Any|>() | ||
} | ||
|
||
} | ||
public final class C : R|kotlin/Any| { | ||
public constructor(): R|C| { | ||
super<R|kotlin/Any|>() | ||
} | ||
|
||
public final typealias TA = R|A| | ||
|
||
public final fun test(): R|{C.TA=} A| { | ||
^test R|/A.A|() | ||
} | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// RUN_PIPELINE_TILL: FRONTEND | ||
class A | ||
|
||
class C { | ||
<!TOPLEVEL_TYPEALIASES_ONLY!>typealias TA = A<!> | ||
|
||
fun test(): TA = TA() | ||
} |
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.