Skip to content

Commit

Permalink
Fix outdated scaladoc for include
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai committed Oct 15, 2024
1 parent aa345b3 commit f78c562
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f78c562

Please sign in to comment.