You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NoClassDefFoundError: main$package$_$lifecycle$Lifecycle$
at main$package$.f$proxy1$1(main.scala:13)
at main$package$.main(main.scala:4)
at main.main(main.scala:3)
Expectation
Expected not to throw NoClassDefFound error. Removing inline from simpleInlineWrap causes the code to work as expected.
NB: encountered when using ScalaTest, which at some point started wrapping all user tests via inline functions
@som-snytt Apologies for threading on your ground, but the issue seems pretty severe and I think I managed to find the fix (#23432). Thank you for the initial investigation here
Activity
Fix Scala 3 build by working around a newly found scala/scala3#23279
som-snytt commentedon May 28, 2025
The working case at flatten has
before flatten
The broken proxy has
before flatten
where it should be
lifecycle$2
after lambdalift.Fix regression in 3.0.0: properly dealias nested singletons on Scala 2 (
jchyb commentedon Jun 26, 2025
@som-snytt Apologies for threading on your ground, but the issue seems pretty severe and I think I managed to find the fix (#23432). Thank you for the initial investigation here
Fix Symbol.info remapping in TreeTypeMap (scala#23432)