From 08f40e2a13006882e8f8425f111b8527e7bbcb0f Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Wed, 24 Jun 2020 09:14:37 +0200 Subject: Remove kotlin source analysis from :core to :kotlin-analysis (thanks to Afzal Najam) --- core/src/main/kotlin/utilities/cast.kt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 core/src/main/kotlin/utilities/cast.kt (limited to 'core/src/main/kotlin/utilities/cast.kt') diff --git a/core/src/main/kotlin/utilities/cast.kt b/core/src/main/kotlin/utilities/cast.kt new file mode 100644 index 00000000..d4a8d73d --- /dev/null +++ b/core/src/main/kotlin/utilities/cast.kt @@ -0,0 +1,5 @@ +package org.jetbrains.dokka.utilities + +inline fun Any.cast(): T { + return this as T +} -- cgit