Implement backend error reporting on unsupported script capturing
#KT-30616 fixed #KT-43995 fixed #KT-19424 fixed #KT-49443 fixed
This commit is contained in:
committed by
TeamCityServer
parent
cb5e451e05
commit
10c5071eda
+14
@@ -0,0 +1,14 @@
|
||||
// !RENDER_DIAGNOSTICS_FULL_TEXT
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
|
||||
fun foo() = B().bar()
|
||||
|
||||
val life = 42
|
||||
|
||||
<!SCRIPT_CAPTURING_INTERFACE!>interface A {
|
||||
val x get() = life
|
||||
}<!>
|
||||
|
||||
class B : A {
|
||||
fun bar() = x
|
||||
}
|
||||
Reference in New Issue
Block a user