Skip to content

Does not compile with lotion 1.7, 1.8 #27

@sergeych

Description

@sergeych

Expected Behavior

Being included into MP project, to compile

Actual Behavior

e: ... Unresolved reference: DiffUtils

Steps to Reproduce the Problem

  1. Create empty MP library with kotlin 1.7
  2. add dependency implementation("dev.gitlive:kotlin-diff-utils:4.1.4")
  3. add test code like
import dev.gitlive.difflib.DiffUtils
import kotlin.test.*

class BasicTest {
    @Test
    fun testPatch() {
        val a = "Hello world"
        val b = "Hello cruel world"
        val c = "Bye world"

        val patch = DiffUtils.diff(a.toList(), b.toList())
    }
}
  • it won compile, while IDEA for example indexes and 'sees' the library very well

Specifications

  • Version: 4.1.4
  • Platform: JVM, JS

Most likely something had been changed in mp library format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions