Jan Chyb

Results 33 issues of Jan Chyb

When setting `build.Config` to use relative path for a working directory, linking will fail with a non user-friendly message. For example, if we set in sbt-scala-native plugin: ```scala val cwd...

component:tools

Inspired by the shapeless-2 codebase, as I was looking what still remains to be done there and run into problems with type-level natural numbers implementation there. ## Compiler version 3.2.1-RC1-bin-20220805-e560c2d-NIGHTLY,...

itype:bug
area:typer

## Changes * Project structure was changed in compliance with `sbt-crossproject`. * `googlecode`'s `diffutils` had to be removed, as Scala Native does not support java libraries. In its place, part...

This PR: * moves missing Enumeration Decoders, Encoders and Codecs from the scala-2 directory to shared, for use in Scala 3 * Reenables EnumerationSuite tests for Scala 3 * Upgrades...

This PR allows to embed resources (by default) in a SN binary, as well as fixes some bugs that ended up being related. Those can be then accessed via getResourceAsStream...

**Version(s)** 0.1.2, also on e968a10797b2a14b835c6555ffc6c3d7aad14b10 **Describe the bug** When `--resource-dirs` option or using directives is used resources are copied to the project directory in `.scala-build`, which is then put on...

bug

## Compiler version `3.1.3`, `3.2.2-RC1-bin-20220908-c11f5cb-NIGHTLY` ## Minimized code Main.scala ```Scala //> using scala "3.nightly" import s.util.tag // letters t and higher work sealed trait ScalaInput object InputUnmarshaller { def emptyMapVars...

itype:bug
stat:needs triage

## Compiler version 3.2.0 and nightly ## Minimized code TypeClass.scala ```scala //> using options "-Xcheck-macros" import scala.quoted._ trait TypeClass[A]: def handle(value: A): String object TypeClass: def instance[A](f: A => String):...

itype:bug
stat:needs minimization

The aim of this ~~draft~~ PR is to introduce a compiler improvement for the use in IDEs. The idea was to allow for IDE's to work on erroring projects more...

## Related PRs * dotty: https://github.com/lampepfl/dotty/pull/17582 * metals: https://github.com/scalameta/metals/pull/5219 ## Explanation This commit allows bloop to support the hopefully-upcoming Scala 3 best effort compilation for Metals, it being enabled with...