Skip to content

Instantly share code, notes, and snippets.

[error] -- Error: sirthias/parboiled2/parboiled-core/src/test/scala/org/parboiled2/CombinatorSpec.scala:210:31
[error] 210 | def targetRule = rule((2 to 4).times("x"))
[error] | ^^^^^^
[error] | Invalid base expression for `.times(...)`: scala.Int.to(2)(4)
[error] -- Error: sirthias/parboiled2/parboiled-core/src/test/scala/org/parboiled2/CombinatorSpec.scala:220:31
[error] 220 | def targetRule = rule((2 to 4).times("x") ~ EOI)
[error] | ^^^^^^
[error] | Invalid base expression for `.times(...)`: scala.Int.to(2)(4)
[error] -- Error: sirthias/parboiled2/parboiled-core/src/test/scala/org/parboiled2/CombinatorSpec.scala:229:31
[error] 229 | def targetRule = rule((2 to max).times("x") ~ EOI)
val workaroundScalaPB2112 = {
// https://github.com/scalapb/ScalaPB/pull/2112
protocbridge.SandboxedJvmGenerator.forModule(
"scala",
protocbridge.Artifact(
"com.thesamet.scalapb",
"compilerplugin_3",
scalapb.compiler.Version.scalapbVersion
),
"scalapb.ScalaPbCodeGenerator$",
TraceValues
2
aggregate
189
allCredentials
14
allDependencies
27
allExcludeDependencies
7
[error] Failed tests:
[error] sbt.internal.librarymanagement.CustomPomParserTest
[error] Error during tests:
[error] sbt.internal.librarymanagement.FakeResolverSpecification
[error] Error: Total 18, Failed 0, Errors 2, Passed 16
[error] Error during tests:
[error] sbt.internal.parser.SbtParserErrorSpec
[error] sbt.internal.parser.NewFormatSpec
[error] stack trace is suppressed; run last lmCoursierShaded / assembly for the full output
[error] stack trace is suppressed; run last workerProj / Test / testQuick for the full output
package fix
import fix.PlayJsonReadsWrites.ImplicitValOrGiven
import scala.meta._
import scalafix.v1._
object PlayJsonReadsWrites {
private object ImplicitValOrGiven {
def unapply(t: Tree): Option[Type] = PartialFunction.condOpt(t) {
import java.io.File
import scala.quoted.Quotes
import scala.reflect.TypeTest
import scala.tasty.inspector.Inspector
import scala.tasty.inspector.Tasty
import scala.tasty.inspector.TastyInspector
object CoherenceTest {
enum TastyOrJar {
case Tasty(value: File)
@transient
val validatePom = taskKey[Unit]("")
def checkPom(pom: scala.xml.Node): List[String] = {
List(
"modelVersion",
"groupId",
"artifactId",
"version",
"packaging",
com/eed3si9n/gigahorse-apache-http_3/0.9.3/gigahorse-apache-http_3-0.9.3.jar
com/eed3si9n/gigahorse-core_3/0.9.3/gigahorse-core_3-0.9.3.jar
com/eed3si9n/shaded-apache-httpclient5/0.9.3/shaded-apache-httpclient5-0.9.3.jar
com/eed3si9n/shaded-jawn-parser_3/1.3.2/shaded-jawn-parser_3-1.3.2.jar
com/eed3si9n/shaded-scalajson_3/1.0.0-M4/shaded-scalajson_3-1.0.0-M4.jar
com/eed3si9n/sjson-new-core_3/0.14.0-M5/sjson-new-core_3-0.14.0-M5.jar
com/eed3si9n/sjson-new-murmurhash_3/0.14.0-M5/sjson-new-murmurhash_3-0.14.0-M5.jar
com/eed3si9n/sjson-new-scalajson_3/0.14.0-M5/sjson-new-scalajson_3-0.14.0-M5.jar
com/github/ben-manes/caffeine/caffeine/2.8.5/caffeine-2.8.5.jar
com/github/mwiede/jsch/0.2.23/jsch-0.2.23.jar
@xuwei-k
xuwei-k / main.txt
Last active February 1, 2026 23:18
Inferred 427881
Select 413599
Ident 364011
Apply 250594
ValDef 137340
TypeApply 136694
TypeIdent 95117
This 87350
DefDef 83619
Block 65461