Skip to content

KotlinTypeDefaultArbitraryBuilder의 thenApply, acceptIf 파라미터 타입 경고 [v 1.1.6] #1133

@jurogrammer

Description

@jurogrammer

Describe the bug

giveMeKotlinBuilder로 빌더를 생성 했음에도 thenApply, acceptIfbuilder.set() 사용시 deprecated 경고가 발생합니다.

제 생각엔 아래처럼 변경되어야 할 것으로 보입니다.
감사합니다!
as-is

  override fun thenApply(biConsumer: BiConsumer<T, ArbitraryBuilder<T>>): KotlinTypeDefaultArbitraryBuilder<T> =
        this.apply { delegate.thenApply(biConsumer) }

to-be

  override fun thenApply(biConsumer: BiConsumer<T, KotlinTypeDefaultArbitraryBuilder<T>>): KotlinTypeDefaultArbitraryBuilder<T> =
        this.apply { delegate.thenApply(biConsumer) }

Your environment

  • fixtureMonkey 1.1.6
  • kotlin 2.0.0

Steps to reproduce

스크린샷 2024-12-26 오후 5 55 08

Expected behaviour

deprecated 경고가 발생하지 않습니다.

Actual behaviour

deprecated 경고가 발생합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions