e89047d2cc
Such references require proper scope so that local symbols are bound.
Example:
```
fun <T> outer() {
abstract class ALocal<S : T> {
abstract fun bar()
}
class Local<S : T> : ALocal<S>() {
override fun bar() {}
}
}
```
Here local classes have type parameters with upper bounds depending on
function type parameters, and members overriding members in other local
classes.
8 lines
365 B
Plaintext
Vendored
8 lines
365 B
Plaintext
Vendored
FILE fqName:<root> fileName:/javaMethod.kt
|
|
FUN name:test visibility:public modality:FINAL <> (j:J) returnType:Unit flags:
|
|
VALUE_PARAMETER name:j index:0 type:J flags:
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='test(J): Unit'
|
|
CALL 'bar(): Unit' type=kotlin.Unit origin=null
|
|
$this: GET_VAR 'value-parameter j: J' type=J origin=null
|