[JVM_IR] Generate line numbers in synthetic bridges.
The current backend does that for some bridges. We do it consistently for all bridges. The line number used differs. For the JVM_IR backend, we use the line number of the class to which the bridge is added. For the JVM backend, that does not appear to be the case for bridges in lambdas. I prefer the line number for a lambda invoke bridge to be the line for the lambda instead os some surrounding class.
This commit is contained in:
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
LineBreakpoint created at functionCallStoredToVariable.kt:7
|
||||
LineBreakpoint created at functionCallStoredToVariable.kt:14
|
||||
LineBreakpoint created at functionCallStoredToVariable.kt:21
|
||||
LineBreakpoint created at functionCallStoredToVariable.kt:28
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
functionCallStoredToVariable.kt:7
|
||||
functionCallStoredToVariable.kt:4
|
||||
functionCallStoredToVariable.kt:14
|
||||
functionCallStoredToVariable.kt:11
|
||||
functionCallStoredToVariable.kt:43
|
||||
functionCallStoredToVariable.kt:21
|
||||
functionCallStoredToVariable.kt:22
|
||||
functionCallStoredToVariable.kt:25
|
||||
functionCallStoredToVariable.kt:28
|
||||
functionCallStoredToVariable.kt:29
|
||||
functionCallStoredToVariable.kt:25
|
||||
functionCallStoredToVariable.kt:47
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user