Fix deprecation warning
KTIJ-27752
This commit is contained in:
committed by
Space Team
parent
645e4af8b1
commit
5729fab8c4
+1
-1
@@ -28,7 +28,7 @@ class KotlinJavaScriptMetaFileDecompiler : KotlinMetadataDecompiler<JsMetadataVe
|
||||
val stream = ByteArrayInputStream(bytes)
|
||||
|
||||
val version = JsMetadataVersion.readFrom(stream)
|
||||
if (!version.isCompatible()) {
|
||||
if (!version.isCompatibleWithCurrentCompilerVersion()) {
|
||||
return KotlinMetadataStubBuilder.FileWithMetadata.Incompatible(version)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user