From 83bf8ee8f785262869f43c35ee37f1fe392f7bf7 Mon Sep 17 00:00:00 2001 From: Anton Lobov Date: Tue, 16 May 2023 10:37:48 +0200 Subject: [PATCH] [fleet] FL-19435 fix usages counter for python GitOrigin-RevId: f34ee343fd925945934448f06e0408a4dc7b8b10 --- .../codeInsight/codeVision/PyReferencesCodeVisionProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/codeInsight/codeVision/PyReferencesCodeVisionProvider.kt b/python/src/com/jetbrains/python/codeInsight/codeVision/PyReferencesCodeVisionProvider.kt index c46955f2a297..5092364df7b6 100644 --- a/python/src/com/jetbrains/python/codeInsight/codeVision/PyReferencesCodeVisionProvider.kt +++ b/python/src/com/jetbrains/python/codeInsight/codeVision/PyReferencesCodeVisionProvider.kt @@ -78,7 +78,7 @@ class PyReferencesCodeVisionProvider : ReferencesCodeVisionProvider() { return CodeVisionInfo(PyBundle.message("inlay.hints.usages.text", min(result, limit), if (result > limit) 1 else 0), result, result <= limit) } - return CodeVisionInfo(PyBundle.message("inlay.hints.usages.with.dynamic.text", result, dynamicResult), dynamicResult) + return CodeVisionInfo(PyBundle.message("inlay.hints.usages.with.dynamic.text", result, dynamicResult), result) } override fun getHint(element: PsiElement, file: PsiFile): String? {