Skip to content

Mutlibinding ViewRenderer where Render has default modifier value leads to build error #19

@Idzikowski-Casey

Description

@Idzikowski-Casey

Describe the bug
My interface ViewRenderer has a single public method - Render

    fun Render(model: T, modifier: Modifier)

When the modifier has a default value there is an error during the build

e: kotlin.NotImplementedError:  An operation is not implemented: Unknown file

To Reproduce
Steps to reproduce the behavior:
Modify the interface to have default value:

    fun Render(model: T, modifier: Modifier = Modifier)

Expected behavior
Should build fine

Actual behavior
Error thrown:

e: kotlin.NotImplementedError:  An operation is not implemented: Unknown file

Environment

  1. Samsung s22
  2. Main
  3. Prod (Y/N) N

Additional context
Related to dependency injection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions