Skip to content

Instantly share code, notes, and snippets.

View eed3si9n's full-sized avatar

eugene yokota eed3si9n

View GitHub Profile

Compatibility note

As usual for minor releases, Scala 2.12.9 is binary compatible with the whole Scala 2.12 series.

Scala.js users must update to 0.6.28+ or 1.0.0-M8+ for compatibility with Scala 2.12.9. (#7375)

Highlights of 2.12.9

  • Improved compiler performance. Benchmarks of compiler performance have improved by between 5% and 10% since 2.12.8, thanks to many performance optimizations (mostly by Jason Zaugg and Diego E. Alonso-Blas: kudos!)

scala/bug#11635

I have the following project:

https://gitlab.com/cese/adw

that I upgraded from Scala 2.12.7 to 2.12.8. CI/CD in Gitlab now fails with the following exception (full trace provided at the end):

error] 
scala> :paste
// Entering paste mode (ctrl-D to finish)
import language.implicitConversions
class A; class B; class C
implicit def a2b(a: A) = new B
implicit def b2c(b: B) = new C
// Exiting paste mode, now interpreting.
project compilerBridge
++2.13.0-RC2!
set scalaBinaryVersion := "2.13"
set every version := "1.1.7"
set every scalacOptions := Nil
set every isSnapshot := false
publishSigned
sbt:zinc Root> compilerBridge211/compile
[debug] Checking for meta build source updates
[debug] Other repositories:
[debug] Default repositories:
[debug] Using inline dependencies specified in Scala.
[debug] "not up to date. inChanged = true, force = false
[debug] Updating compilerBridge211...
[debug] Done updating compilerBridge211
[debug] No changes
[debug] Copy resource mappings:
import java.util.{ Locale, Properties }
+import java.time.ZonedDateTime
+import java.time.format.DateTimeFormatter.ISO_LOCAL_DATE_TIME
import sbt.BasicCommandStrings.{ Shell, TemplateCommand }
import sbt.Project.LoadAction
@@ -37,6 +39,7 @@ import scala.util.control.NonFatal
/** This class is the entry point for sbt. */
final class xMain extends xsbti.AppMain {
def run(configuration: xsbti.AppConfiguration): xsbti.MainResult = {
scala> import gigahorse._, support.okhttp.Gigahorse
import gigahorse._
import support.okhttp.Gigahorse
scala> import scala.concurrent._, duration._
import scala.concurrent._
import duration._
scala> import ExecutionContext.Implicits._
import ExecutionContext.Implicits._
Defaults: object Defaults {
scalaHome =
javaBootClassPath =
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/resources.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/rt.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/sunrsasign.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jsse.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jce.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/charsets.jar
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jfr.jar
@eed3si9n
eed3si9n / yql
Created February 15, 2019 08:02
{"query":{"count":1,"created":"2018-05-06T22:49:55Z","lang":"en-US","results":{"channel":{"item":{"condition":{"code":"26","date":"Sun, 06 May 2018 06:00 PM EDT","temp":"16","text":"Cloudy"}}}}}}
[DEBUG] [02/06/2019 15:27:20.434] [main] [EventStream(akka://default)] logger log1-Logging$DefaultLogger started
[DEBUG] [02/06/2019 15:27:20.437] [main] [EventStream(akka://default)] Default Loggers started
[INFO] [02/06/2019 15:27:20.460] [main] [akka.remote.Remoting] Starting remoting
[INFO] [02/06/2019 15:27:20.664] [main] [akka.remote.Remoting] Remoting started; listening on addresses :[akka.tcp://[email protected]:2552]
[INFO] [02/06/2019 15:27:20.666] [main] [akka.remote.Remoting] Remoting now listens on addresses: [akka.tcp://[email protected]:2552]
[INFO] [02/06/2019 15:27:20.693] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tcp://[email protected]:2552] - Starting up, Akka version [2.5.20] ...
[INFO] [02/06/2019 15:27:20.831] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tcp://[email protected]:2552] - Registered cluster JMX MBean [akka:type=Cluster]
[INFO] [02/06/2019 15:27:20.832] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tc