Stefan Zeiger

Results 35 issues of Stefan Zeiger

The current direct translation from Scala-style version numbers (as used for publishing in Maven repositories) to OSGi version numbers makes it difficult to get import version ranges right. For instance,...

### Operating Systems ### Server: Windows 10 x64 Creator's Update (1703) Client: Windows 10 x64 Creator's Update (1703) **READ ME, DELETE ME**: On Windows, hold the Windows key and press...

Backport of https://github.com/scala/scala/pull/10795: This change adds a new flag `-Ycollect-statistics` that enables the same statistics gathering as `-Ystatistics` but without dumping all the statistics to the console. This is useful...

Given these equivalent Scala and Java sources, and compilers running on JDK 17: ``` $ cat Main.scala import jdk.jfr.internal.Repository class Main {} $ cat Main.java import jdk.jfr.internal.Repository; public class Main...

I am benchmarking our Bazel-based Scala compiler tooling on different JDKs and I see a significant loss of performance when upgrading from GraalVM 17 to 21 (539s -> 583s in...

bug

ScalaPB uses fully qualified names for most classes in generated code. Descriptors are a notable exception: ``` def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = ApiProto.javaDescriptor.getMessageTypes().get(1) def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = ApiProto.scalaDescriptor.messages(1) ``` In this...

When creating the test classloader in https://github.com/sbt/sbt/blob/54d54b9f4f03e2e3339373ed582f2b19359bea31/testing/src/main/scala/sbt/TestFramework.scala#L196-198, sbt puts the project's `scalaInstance` on the classpath if it is unmanaged. For some reason the `scalaInstance` in our build (see https://github.com/scala/scala/pull/5190/commits/02d75b39a7141c02d789df1bcbd6a4c74313de1c) is...

`$` is a valid character in an identifier (`Character.isJavaIdentifierPart`) and thus it is (correctly) accepted by jarjar in rule patterns, but it is not escaped when building the regex (which...

Given ``` sealed trait A[T] { def x: T } final case class B(x: String) extends A[String] final case class C(x: Int) extends A[Int] def f[T](a: A[T]): Unit = {...

gadt

From a Lightbend support ticket: ``` -> slick.jdbc.JdbcModelBuilder$TableBuilder@2b423156),slick.jdbc.JdbcModelBuilder$Builders@3b58d908) Exception in thread "main" java.lang.NumberFormatException: For input string: "IDENTITY GENERATED ALWAYS" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.parseLong(Long.java:631) at scala.collection.immutable.StringLike$class.toLong(StringLike.scala:276) at scala.collection.immutable.StringOps.toLong(StringOps.scala:29) at...

bug
topic:codegen
hacktoberfest