FIR: use dispatch receiver of the enclosing function if any.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
a363a5be58
commit
de0c9a5c73
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
open class C(val f: () -> String)
|
||||
|
||||
class B(val x: String) {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
abstract class Base(val fn: () -> String)
|
||||
|
||||
open class Outer {
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
abstract class Base(val fn: () -> String)
|
||||
|
||||
class Outer {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
class Point(val x:Int, val y:Int) {
|
||||
fun mul() : (scalar:Int)->Point {
|
||||
return { scalar:Int -> Point(x * scalar, y * scalar) }
|
||||
|
||||
Reference in New Issue
Block a user