Generate super classes and overridden functions in proper scope
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.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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
|
||||
Reference in New Issue
Block a user