Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile with lotion 1.7, 1.8 #27

Open
sergeych opened this issue Mar 18, 2023 · 0 comments
Open

Does not compile with lotion 1.7, 1.8 #27

sergeych opened this issue Mar 18, 2023 · 0 comments

Comments

@sergeych
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant