From f78c562bbaf4393af12985d3dd7372625b3b9861 Mon Sep 17 00:00:00 2001 From: Kai <450507+neko-kai@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:09:48 +0100 Subject: [PATCH] Fix outdated scaladoc for `include` --- .../izumi/distage/model/definition/dsl/IncludesDSL.scala | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/IncludesDSL.scala b/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/IncludesDSL.scala index 8243fa4a94..fa462e37a4 100644 --- a/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/IncludesDSL.scala +++ b/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/IncludesDSL.scala @@ -15,16 +15,12 @@ trait IncludesDSL { /** Add all bindings in `that` module into `this` module * - * WON'T add global tags from [[TagsDSL#tag]] to included bindings. + * WILL add outer tags / axis values from [[TagsDSL#tag]] to included bindings, unless they're overridden by tags / axis values in the included module. */ final protected def include(that: ModuleBase, tagMergeStrategy: TagMergePolicy = TagMergePolicy.MergePreferInner): Unit = discard { mutableAsIsIncludes += Include(that, tagMergeStrategy) } - /** Add all bindings in `that` module into `this` module - * - * WILL add global tags from [[TagsDSL#tag]] to included bindings. - */ @deprecated("Outer module's tags are now added to included module by default, use regular `include`", "1.2.9") final protected def includeApplyTags(that: ModuleBase): Unit = { include(that, TagMergePolicy.MergePreferInner)