Skip to content

Commit

Permalink
Merge pull request #2274 from ZacSweers/z/otherKotlin17Bits
Browse files Browse the repository at this point in the history
Two small Kotlin 1.7 compatability bits
  • Loading branch information
oldergod authored May 25, 2022
2 parents 7b08945 + a7d66a8 commit dd598a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ class KotlinGenerator private constructor(
}
}
}
else -> {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ expect interface Serializable

// TODO(egorand): Remove when https://youtrack.jetbrains.com/issue/KT-26283 lands
@OptionalExpectation
@UseExperimental(ExperimentalMultiplatform::class)
@OptIn(ExperimentalMultiplatform::class)
expect annotation class Throws(vararg val exceptionClasses: KClass<out Throwable>)

expect abstract class ObjectStreamException : IOException
Expand Down

0 comments on commit dd598a6

Please sign in to comment.