From 1734726d500d8c3c06148bef73490081beae84ef Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Mon, 3 Dec 2018 20:36:37 +0900 Subject: [PATCH] Remove a magic constant from 'KotlinLambdaMethodFilter' --- .../kotlin/idea/debugger/stepping/KotlinLambdaMethodFilter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaMethodFilter.kt b/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaMethodFilter.kt index a8fed0f6b72..4b1e5764d2c 100644 --- a/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaMethodFilter.kt +++ b/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinLambdaMethodFilter.kt @@ -71,7 +71,7 @@ class KotlinLambdaMethodFilter( return isLambdaName(method.name()) } - override fun getCallingExpressionLines() = if (isInline) Range(0, 999) else myCallingExpressionLines + override fun getCallingExpressionLines() = if (isInline) Range(0, Int.MAX_VALUE) else myCallingExpressionLines private fun isLambdaName(name: String?): Boolean { if (isSuspend && name != null) {