[codegen][debug-info] improving numbering parameters (including receivers).
This commit is contained in:
+1
-1
@@ -1261,7 +1261,7 @@ internal class CodeGeneratorVisitor(val context: Context, val lifetimes: Map<IrE
|
|||||||
functionScope = locationInfo.scope,
|
functionScope = locationInfo.scope,
|
||||||
diType = element.descriptor.type.diType(context, codegen.llvmTargetData),
|
diType = element.descriptor.type.diType(context, codegen.llvmTargetData),
|
||||||
name = element.descriptor.name,
|
name = element.descriptor.name,
|
||||||
argNo = element.index + 1,
|
argNo = function.allParameters.indexOf(element) + 1,
|
||||||
file = file,
|
file = file,
|
||||||
line = locationInfo.line,
|
line = locationInfo.line,
|
||||||
location = location)
|
location = location)
|
||||||
|
|||||||
Reference in New Issue
Block a user