From 4b813187107e85dc267dbc2d353884b2cc671cc4 Mon Sep 17 00:00:00 2001 From: Sculas Date: Sat, 3 Sep 2022 22:52:49 +0200 Subject: [PATCH] fix: remove default param from Package.versions Kotlin compiler bug produces invalid bytecode, resulting in an IncompleteAnnotationException at runtime. --- .../revanced/patcher/annotation/CompatibilityAnnotation.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patcher/annotation/CompatibilityAnnotation.kt b/src/main/kotlin/app/revanced/patcher/annotation/CompatibilityAnnotation.kt index a053f83a..86a02feb 100644 --- a/src/main/kotlin/app/revanced/patcher/annotation/CompatibilityAnnotation.kt +++ b/src/main/kotlin/app/revanced/patcher/annotation/CompatibilityAnnotation.kt @@ -24,5 +24,5 @@ annotation class Compatibility( @MustBeDocumented annotation class Package( val name: String, - val versions: Array = [], -) \ No newline at end of file + val versions: Array, +)