Skip to content
#

Scala

scala logo

Scala is a general-purpose programming language providing support for functional programming and a strong static type system. Designed to be concise, many of Scala's design decisions aimed to address criticisms of Java.

Here are 12,422 public repositories matching this topic...

mkurz
mkurz commented Feb 3, 2022

We use sbt-dynver to set the version for the Play project based on git tags.
E.g. when you run sbt in the Play project folder you will see:

// If you haven't you need to get the Play framework source code
git clone git@github.com:playframework/playframework.git
cd ./playframework

// You are in the master branch now, from which we want to rele
lila
codefromthecrypt
codefromthecrypt commented Aug 29, 2018

Let's support at least reading "b3" header from a single string, most commonly traceid-spanid-1
It would also be nice to support optionally writing this, especially in message providers or others with constrained environments.

Expected behavior

As discussed on openzipkin/b3-propagation#21 and first implemented here: https://github.com/openzipkin/brave/blob/master/brave/src/main/java/bra

14sxlin
14sxlin commented Jan 5, 2022

When I use Mirror of scala 3 to generate a typeclass list, the exception occurs. I know it's the hard limit of jvm of method size, but how can I circumvent this issue.

ps: When delete some fields of Data class it works, but any other solution?

Compiler version

sbt: 1.6.0

scala: 3.1.0

Minimized example

import scala.compiletime.*
import scala.deriving.Mirror

obj
itype:bug area:backend itype:crash good first issue
NeQuissimus
NeQuissimus commented Jan 7, 2019

I just came across the fact that a Show[Throwable] exists.

  1. It is not wired up into import Scalaz._, one needs to import scalaz.std.java.throwable._
  2. It discards the stack trace entirely.

What's going on with this? :D
Is it OK if I fix both of these (for 7.2 and 7.3)?

jackkoenig
jackkoenig commented Mar 15, 2022

steps

I have reproduced the bug with both sbt 1.6.2 and 1.6.0, but no problem with sbt 1.5.8.

To reproduce, just take any SBT project using SBT 1.6 and try to compile with Scala 2.12.4, eg.

sbt new scala/scala-seed.g8
# cd into directory and change Scala version to 2.12.4
sbt compile

Note that the issue does not show up with Scala versions 2.12.2, 2.12.3, nor 2.12.5.

sfc-gh-mrui
sfc-gh-mrui commented Nov 8, 2021

Description
It looks the Polynote doesn't support to configure Scala REPL like other notebook product.
For example, jupyter notebook support to configure Scala REPL such as

interp.configureCompiler(_.settings.outputDirs.setSingleOutput(replClassPath))
interp.configureCompiler(_.settings.Yreplclassbased)

Some configuration is hard-coded such as settings.Ydelambdafy.value is s

enhancement good first issue

Created by Martin Odersky

Released January 20, 2004

Website
www.scala-lang.org
Wikipedia
Wikipedia