PSI2IR: For implicit function return, use expression's end offset as start offset of the IrReturn to generarate correct line number.
This commit is contained in:
committed by
Ilmir Usmanov
parent
e49431a12c
commit
0441e484a6
@@ -20,9 +20,6 @@ fun bar(x: Int) =
|
||||
foo(x)
|
||||
}
|
||||
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
// IR backend has bar().12 replaced as bar().8 for returning bar() function result.
|
||||
// LINENUMBERS
|
||||
// TestKt.box():4
|
||||
// FooKt.foo(int):4
|
||||
|
||||
Reference in New Issue
Block a user