Fix wrong type of info array

This commit is contained in:
Vitaliy.Bibaev
2017-09-16 14:21:12 +03:00
parent 82629316a5
commit f0f2bf1855
@@ -57,7 +57,7 @@ abstract class TraceExpressionBuilderBase(private val myProject: Project, privat
return myDsl.code {
declare(result, nullExpression, true)
val startTime = declare(variable(types.longType, "startTime"), +"java.lang.System.nanoTime()", false)
declare(info, newSizedArray(types.longType, infoArraySize), false)
declare(info, newSizedArray(types.anyType, infoArraySize), false)
declare(timeDeclaration())
+TextExpression(declarations)
+TextExpression(tracingCall)