scala/scala-parser-combinators

Artifact for scala-native 0.4.3, scala 3 is empty

larsjaas opened this issue · 10 comments

Using scala-native 0.4.3, scala 3.1.1 and scala-parser-combinators 2.1.0 fails with import errors on scala.util.parsing.
Apparently the jar that was published for scala-native 0.4.3/scala 3 is empty (574 bytes).
https://search.maven.org/artifact/org.scala-lang.modules/scala-parser-combinators_native0.4_3/2.1.0/jar
Minimal demo repository: https://github.com/larsjaas/sq.git

@Philippus any idea who's attention we should call to this...?

The last commit (f2f0b4f) updates the scala-native plugin to 0.4.3, and 0.4.3 is the first that has real Scala 3 support. Issue might already be fixed in the source, just waiting for the next deployment?

It is using JUnit for tests too so that should be able to test on Native with the correct options. https://github.com/ekrich/sconfig/blob/main/build.sbt#L173-L176

Going by the date, I assume the directories were created in #418 for some reason.

@Philippus I don't understand what directories you're referring to?

Issue might already be fixed in the source, just waiting for the next deployment?

Could someone try a publishLocal and see?

I see. Well, I guess the history is only potentially worth digging into if someone confirms (via publishLocal) that the problem still exists.

I figure it is maybe not time for a new release yet, but would it be possible to deploy a set of snapshots to have something to use in scala-native? And get the fix (assuming #447 fixes this issue) verified.

@Philippus wdyt, care to roll 2.1.1?

I've released 2.1.1.
@larsjaas I've tried your demo repo and that compiles and runs after updating scala-parser-combinators to 2.1.1.