From 3b6d610e2918fba94bd4023bcbc9a6d81fbf64f9 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Fri, 20 Apr 2018 13:14:11 +0300 Subject: [PATCH] Light class performance test: access field & method types So #KT-24085 Fixed --- .../org/jetbrains/kotlin/idea/perf/AllKotlinLightClassTest.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinLightClassTest.kt b/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinLightClassTest.kt index fc8ffbc22bb..2033d77025f 100644 --- a/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinLightClassTest.kt +++ b/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinLightClassTest.kt @@ -38,6 +38,9 @@ class AllKotlinLightClassTest : WholeProjectPerformanceTest(), WholeProjectKotli Arrays.hashCode(lightClass.superTypes) Arrays.hashCode(lightClass.fields) Arrays.hashCode(lightClass.methods) + // Just to be sure: access types + lightClass.fields.map { it.type }.hashCode() + lightClass.methods.map { it.returnType }.hashCode() lightClass.hashCode() } })