Skip to content

Commit

Permalink
Do not propagate opt-in
Browse files Browse the repository at this point in the history
(cherry picked from commit 086b789)
  • Loading branch information
vmishenev authored and IgnatBeresnev committed Mar 3, 2023
1 parent aba2d12 commit 4b5a88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/plugability/DokkaPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class DokkaPlugin {
/**
* @see PluginApiPreviewAcknowledgement
*/
@DokkaPluginApiPreview
@OptIn(DokkaPluginApiPreview::class)
protected abstract fun pluginApiPreviewAcknowledgement(): PluginApiPreviewAcknowledgement
protected inline fun <reified T : DokkaPlugin> plugin(): T = context?.plugin(T::class) ?: throwIllegalQuery()

Expand Down

0 comments on commit 4b5a88d

Please sign in to comment.