From 825dacfd136945dc840bb527b8eb1a418dfd5155 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Tue, 4 Mar 2014 19:28:14 +0400 Subject: [PATCH] Migrate to newer API --- idea/src/org/jetbrains/jet/plugin/libraries/DecompiledUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/jet/plugin/libraries/DecompiledUtils.kt b/idea/src/org/jetbrains/jet/plugin/libraries/DecompiledUtils.kt index 5a1050773a6..426f7538cf8 100644 --- a/idea/src/org/jetbrains/jet/plugin/libraries/DecompiledUtils.kt +++ b/idea/src/org/jetbrains/jet/plugin/libraries/DecompiledUtils.kt @@ -58,5 +58,5 @@ public fun isKotlinInternalCompiledFile(file: VirtualFile): Boolean { return true } val header = KotlinBinaryClassCache.getKotlinBinaryClass(file).getClassHeader() - return header != null && header.getKind() == KotlinClassHeader.Kind.PACKAGE_FRAGMENT + return header != null && header.getKind() == KotlinClassHeader.Kind.PACKAGE_PART } \ No newline at end of file