Skip to content

Instantly share code, notes, and snippets.

@zainab-ali
Last active September 23, 2025 12:36
Show Gist options
  • Save zainab-ali/fa5793f256d38d9c1615c6cf443c7eed to your computer and use it in GitHub Desktop.
Save zainab-ali/fa5793f256d38d9c1615c6cf443c7eed to your computer and use it in GitHub Desktop.
weaver's shading logic for munit-diff causes linking errors in Scala Native
//> using scala "3.7.0"
//> using platform native
//> using repository "https://central.sonatype.com/repository/maven-snapshots"
// The linking error occurs in the latest published version:
//> using nativeVersion 0.4.17
//> using dep org.typelevel::weaver-cats::0.10.1
// They also occur in the 0.5 version, regardless of the version of munit-diff:
// using nativeVersion 0.5.7
// using dep org.typelevel::weaver-cats::0.11-b0644b4-SNAPSHOT
// using dep org.typelevel::weaver-cats::0.11-ddd6eba-SNAPSHOT
import weaver.*
object Bug extends App with Expectations.Helpers {
expect.eql(1, 2)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment