# Dotty

**URL:** https://contributors.scala-lang.org/c/dotty/15.md

[Latest](https://contributors.scala-lang.org/latest.md) · [Categories](https://contributors.scala-lang.org/categories.md)

---

## [About the Dotty category](https://contributors.scala-lang.org/t/about-the-dotty-category/177)

<div class="topic-metadata">

**Author:** [@heathermiller](https://contributors.scala-lang.org/u/heathermiller)\
**Replies:** 0

</div>

---

## [Die nächste Treppe](https://contributors.scala-lang.org/t/die-nachste-treppe/7333)

<div class="topic-metadata">

**Author:** [@som-snytt](https://contributors.scala-lang.org/u/som-snytt)\
**Replies:** 1\
**Last updated:** [January 11, 2026, 1:51pm UTC](https://contributors.scala-lang.org/t/die-nachste-treppe/7333 "2026-01-11T13:51:56Z")

</div>

via Fosstodon Alt text Eine verschneite Treppe, die im verschneiten Wald nach oben führt. Sie ist ungleichmäßig und sieht verwunschen aus. An ihrem oberen Ende führt sie um die Kurve, man sieht nicht wohin. which…

---

## [What are the limitations of extending a trait with constructor?](https://contributors.scala-lang.org/t/what-are-the-limitations-of-extending-a-trait-with-constructor/6979)

<div class="topic-metadata">

**Author:** [@tribbloid](https://contributors.scala-lang.org/u/tribbloid)\
**Replies:** 1\
**Last updated:** [January 19, 2025, 12:01pm UTC](https://contributors.scala-lang.org/t/what-are-the-limitations-of-extending-a-trait-with-constructor/6979 "2025-01-19T12:01:40Z")

</div>

here is a quick example: trait A(delegate: Any = this) // this won't work in Scala 2.13 object A1 extends A(A1) trait B extends A(A1) // still doensn't work /\* trait B may not call constructor of trait A trai…

---

## [Named tuple type alias breaks compilation](https://contributors.scala-lang.org/t/named-tuple-type-alias-breaks-compilation/6813)

<div class="topic-metadata">

**Author:** [@saulpalv](https://contributors.scala-lang.org/u/saulpalv)\
**Replies:** 1\
**Last updated:** [November 10, 2024, 3:12am UTC](https://contributors.scala-lang.org/t/named-tuple-type-alias-breaks-compilation/6813 "2024-11-10T03:12:31Z")

</div>

scala someFn.tupled works when calling with anonymous named tuples, example val point = (x = 1.0, y = 2.0) however if the named tuple was defined with a type alias like type Point = (x: Double, y: Double) val point: P…

---

## [Status of specialization in Scala 3](https://contributors.scala-lang.org/t/status-of-specialization-in-scala-3/4628)

<div class="topic-metadata">

**Author:** [@OndrejSpanel](https://contributors.scala-lang.org/u/OndrejSpanel)\
**Replies:** 14\
**Last updated:** [September 11, 2024, 5:41pm UTC](https://contributors.scala-lang.org/t/status-of-specialization-in-scala-3/4628 "2024-09-11T17:41:45Z")

</div>

What is the status of specialization in Scala 3? While I was recently posting a few bug reports regarding @specialized for Scala 2.13, I was made aware Dotty 0.27 was simply ignoring @specialized. What is the current st…

---

## [Whats the intention/plan for the Scala3/Dotty optimizer](https://contributors.scala-lang.org/t/whats-the-intention-plan-for-the-scala3-dotty-optimizer/6194)

<div class="topic-metadata">

**Author:** [@mdedetrich](https://contributors.scala-lang.org/u/mdedetrich)\
**Replies:** 11\
**Last updated:** [July 30, 2024, 10:22am UTC](https://contributors.scala-lang.org/t/whats-the-intention-plan-for-the-scala3-dotty-optimizer/6194 "2024-07-30T10:22:19Z")

</div>

I am not sure if this has been mentioned/talked about elsewhere but as of now the the inlining optimizer is only available for Scala 2.12/Scala 2.13. While Dotty/Scala has the new inline keyword, this is only for manual …

---

## [Reachable "unreachable" case of union type match](https://contributors.scala-lang.org/t/reachable-unreachable-case-of-union-type-match/6566)

<div class="topic-metadata">

**Author:** [@aversey](https://contributors.scala-lang.org/u/aversey)\
**Replies:** 13\
**Last updated:** [February 21, 2024, 6:46pm UTC](https://contributors.scala-lang.org/t/reachable-unreachable-case-of-union-type-match/6566 "2024-02-21T18:46:30Z")

</div>

There is a Scala 3 sample which shows that a match case marked with “Unreachable case” warning can still be reached. I am not sure if it is an error (although it seems like one to me), so I decided to start a topic here …

---

## [Migrating lampepfl/dotty to scala/scala3](https://contributors.scala-lang.org/t/migrating-lampepfl-dotty-to-scala-scala3/5089)

<div class="topic-metadata">

**Author:** [@dwijnand](https://contributors.scala-lang.org/u/dwijnand)\
**Replies:** 19\
**Last updated:** [February 8, 2024, 3:49am UTC](https://contributors.scala-lang.org/t/migrating-lampepfl-dotty-to-scala-scala3/5089 "2024-02-08T03:49:56Z")

</div>

Hi contributors, With Scala 3 being released (:tada:) we want to consolidate our GitHub setup, specifically in terms of transferring and renaming https://github.com/lampepfl/dotty to https://github.com/scala/scala3. We…

---

## [Scala 3.3.2 release date?](https://contributors.scala-lang.org/t/scala-3-3-2-release-date/6422)

<div class="topic-metadata">

**Author:** [@monisha5540](https://contributors.scala-lang.org/u/monisha5540)\
**Replies:** 2\
**Last updated:** [December 15, 2023, 7:48pm UTC](https://contributors.scala-lang.org/t/scala-3-3-2-release-date/6422 "2023-12-15T19:48:59Z")

</div>

Hi, Could you please provide the ETA for Scala 3.3.2 release date? We are waiting for the following scoverage fix.https://github.com/lampepfl/dotty/issues/16634 Thanks!

---

## [Behaviour of \`@experimental\` in Scala 3](https://contributors.scala-lang.org/t/behaviour-of-experimental-in-scala-3/6309)

<div class="topic-metadata">

**Author:** [@mdedetrich](https://contributors.scala-lang.org/u/mdedetrich)\
**Replies:** 41\
**Last updated:** [September 8, 2023, 9:58pm UTC](https://contributors.scala-lang.org/t/behaviour-of-experimental-in-scala-3/6309 "2023-09-08T21:58:31Z")

</div>

There is currently a discussion happening on github which was requested to be moved to contributors regarding the new behaviour of experimental language features. The new intended behaviour being talked about is that if…

---

## [Add parameter name hint to function parameter](https://contributors.scala-lang.org/t/add-parameter-name-hint-to-function-parameter/6299)

<div class="topic-metadata">

**Author:** [@hepin1989](https://contributors.scala-lang.org/u/hepin1989)\
**Replies:** 7\
**Last updated:** [September 6, 2023, 5:09pm UTC](https://contributors.scala-lang.org/t/add-parameter-name-hint-to-function-parameter/6299 "2023-09-06T17:09:01Z")

</div>

def distinctUtilChanged\[T\](predicate: (old:T, \`new\`:T) =\> Boolean):IterableOnce\[T\] Which I have to write some like below for now: def distinctUtilChanged\[T\](predicate: (/\*old\*/ T, /\*new\*/T) =\> Boolean):IterableOnce\[T…

---

## [Pre-typer syntactic plugins in Scala 3?](https://contributors.scala-lang.org/t/pre-typer-syntactic-plugins-in-scala-3/5565)

<div class="topic-metadata">

**Author:** [@fommil](https://contributors.scala-lang.org/u/fommil)\
**Replies:** 36\
**Last updated:** [July 2, 2023, 7:43pm UTC](https://contributors.scala-lang.org/t/pre-typer-syntactic-plugins-in-scala-3/5565 "2023-07-02T19:43:48Z")

</div>

I have two usecases for pre-typer compiler plugins in Scala 3 that I would like the authors of the compiler to consider. The first usecase is the ENSIME compiler plugin, which simply outputs compiler parameters for ever…

---

## ['Whitebox' Macros in Scala 3 Are Possible After All?](https://contributors.scala-lang.org/t/whitebox-macros-in-scala-3-are-possible-after-all/5014)

<div class="topic-metadata">

**Author:** [@AugustNagro](https://contributors.scala-lang.org/u/AugustNagro)\
**Replies:** 4\
**Last updated:** [February 9, 2023, 7:28pm UTC](https://contributors.scala-lang.org/t/whitebox-macros-in-scala-3-are-possible-after-all/5014 "2023-02-09T19:28:42Z")

</div>

All the documentation and stack overflow says that ‘Whitebox’ macros are impossible in Scala 3. In fact, by making a transparent macro that returns a structural type you can create types with any vals and defs that you …

---

## [Opaque type problems: overriding does not work?](https://contributors.scala-lang.org/t/opaque-type-problems-overriding-does-not-work/5889)

<div class="topic-metadata">

**Author:** [@\_1844](https://contributors.scala-lang.org/u/_1844)\
**Replies:** 4\
**Last updated:** [August 26, 2022, 10:33pm UTC](https://contributors.scala-lang.org/t/opaque-type-problems-overriding-does-not-work/5889 "2022-08-26T22:33:27Z")

</div>

I wanted to extend the logarithmic representation example from the Scala3 book (here: Opaque Types | Scala 3 — Book | Scala Documentation ) with toString: object Logarithms: //vvvvvv this is the important difference! …

---

## [Extension method search API](https://contributors.scala-lang.org/t/extension-method-search-api/5774)

<div class="topic-metadata">

**Author:** [@wangzaixiang](https://contributors.scala-lang.org/u/wangzaixiang)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 10:18am UTC](https://contributors.scala-lang.org/t/extension-method-search-api/5774 "2022-06-22T10:18:24Z")

</div>

Scala 3 has an API for implicit lookup: trait Quotes { trait refelectModle { // quotes.reflect.Implicits trait ImplicitsModule { self: Implicits.type =\> /\*\* Find a given instance of type …

---

## [A possible issue with overriding vars in Scala 3](https://contributors.scala-lang.org/t/a-possible-issue-with-overriding-vars-in-scala-3/5768)

<div class="topic-metadata">

**Author:** [@makingthematrix](https://contributors.scala-lang.org/u/makingthematrix)\
**Replies:** 2\
**Last updated:** [June 21, 2022, 11:16am UTC](https://contributors.scala-lang.org/t/a-possible-issue-with-overriding-vars-in-scala-3/5768 "2022-06-21T11:16:53Z")

</div>

Hi, I’m working in the Scala plugin team in JetBrains and right now I’m implementing error highlighting for when a var from a superclass is overriden in a subclass. While doing this I noticed a weird difference between …

---

## [Wish Scala would eventually consider a 3rd compile target and not be held back by JVM baggage while remaining interoperable](https://contributors.scala-lang.org/t/wish-scala-would-eventually-consider-a-3rd-compile-target-and-not-be-held-back-by-jvm-baggage-while-remaining-interoperable/5712)

<div class="topic-metadata">

**Author:** [@shelby3](https://contributors.scala-lang.org/u/shelby3)\
**Replies:** 9\
**Last updated:** [May 17, 2022, 10:21am UTC](https://contributors.scala-lang.org/t/wish-scala-would-eventually-consider-a-3rd-compile-target-and-not-be-held-back-by-jvm-baggage-while-remaining-interoperable/5712 "2022-05-17T10:21:10Z")

</div>

Apologies in advance for the incendiary comment and to all of those who have investments in the JVM ecosystem. I am sure my comment is myopic in that respect. I just wish Scala would discard the legacy baggage and move o…

---

## [Lots of community-build projects not running or even compiling tests](https://contributors.scala-lang.org/t/lots-of-community-build-projects-not-running-or-even-compiling-tests/5560)

<div class="topic-metadata">

**Author:** [@deusaquilus](https://contributors.scala-lang.org/u/deusaquilus)\
**Replies:** 0\
**Last updated:** [January 31, 2022, 8:10pm UTC](https://contributors.scala-lang.org/t/lots-of-community-build-projects-not-running-or-even-compiling-tests/5560 "2022-01-31T20:10:08Z")

</div>

Re-posting this here for awareness. Lots of Scala Community-Build projects are not running or even compiling their tests. They are silently failing with: \[error\] Error loading test framework (java.lang.NoClassDefFoundEr…

---

## [Union types and generalisations](https://contributors.scala-lang.org/t/union-types-and-generalisations/3820)

<div class="topic-metadata">

**Author:** [@Baccata](https://contributors.scala-lang.org/u/Baccata)\
**Replies:** 75\
**Last updated:** [July 1, 2021, 10:27pm UTC](https://contributors.scala-lang.org/t/union-types-and-generalisations/3820 "2021-07-01T22:27:29Z")

</div>

Hi dotty folks, not sure if this is the best place to post this question. I’ve already tried gitter and users.scala-lang.org does not have a dotty dedicated section. Out of curiosity, I’ve been looking at union types, t…

---

## [Is it possible to export top level Opaque Types in Scala 3?](https://contributors.scala-lang.org/t/is-it-possible-to-export-top-level-opaque-types-in-scala-3/5136)

<div class="topic-metadata">

**Author:** [@pme123](https://contributors.scala-lang.org/u/pme123)\
**Replies:** 4\
**Last updated:** [June 17, 2021, 4:39pm UTC](https://contributors.scala-lang.org/t/is-it-possible-to-export-top-level-opaque-types-in-scala-3/5136 "2021-06-17T16:39:22Z")

</div>

I asked this question on Stackoverflow and got no answer. Here it is: I am playing with the Scala 3 feature Export Clauses. Everything works, except of opaque types. I could not find any restrictions on them. My Opaqu…

---

## [How to check for broken symbols in Macro](https://contributors.scala-lang.org/t/how-to-check-for-broken-symbols-in-macro/5117)

<div class="topic-metadata">

**Author:** [@giiita](https://contributors.scala-lang.org/u/giiita)\
**Replies:** 6\
**Last updated:** [June 9, 2021, 3:10pm UTC](https://contributors.scala-lang.org/t/how-to-check-for-broken-symbols-in-macro/5117 "2021-06-09T15:10:54Z")

</div>

c.typecheck and c.parse have been lost. The scalatest assertCompile and others can certainly achieve something similar by calling compiletime.testing.typeChecks directly at test time. However, there may be cases in oth…

---

## [Should runtime type test without Typeable be a compiler error?](https://contributors.scala-lang.org/t/should-runtime-type-test-without-typeable-be-a-compiler-error/5111)

<div class="topic-metadata">

**Author:** [@Swoorup](https://contributors.scala-lang.org/u/Swoorup)\
**Replies:** 2\
**Last updated:** [June 1, 2021, 4:57pm UTC](https://contributors.scala-lang.org/t/should-runtime-type-test-without-typeable-be-a-compiler-error/5111 "2021-06-01T16:57:29Z")

</div>

I ran into an issue with Typeable not being in scope and found out Typeable doesn’t really work on composite types. This got me thinking, if type testing like the code linked in the issue here: Typeable instance not bei…

---

## [Compatibility required for migration from Scala2 macro](https://contributors.scala-lang.org/t/compatibility-required-for-migration-from-scala2-macro/5100)

<div class="topic-metadata">

**Author:** [@giiita](https://contributors.scala-lang.org/u/giiita)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 9:37am UTC](https://contributors.scala-lang.org/t/compatibility-required-for-migration-from-scala2-macro/5100 "2021-05-27T09:37:13Z")

</div>

Hello, Scala2 macro was experimental, so it may not be planned to support all features. However, features used in many libraries have been lost, and some OSS are difficult to migrate. And I am one of them. Has the eq…

---

## [Givens in ADT cases](https://contributors.scala-lang.org/t/givens-in-adt-cases/4943)

<div class="topic-metadata">

**Author:** [@regiskuckaertz](https://contributors.scala-lang.org/u/regiskuckaertz)\
**Replies:** 6\
**Last updated:** [March 13, 2021, 8:02am UTC](https://contributors.scala-lang.org/t/givens-in-adt-cases/4943 "2021-03-13T08:02:49Z")

</div>

Hi, Although it is possible to define a ADT where some term has a given parameter, it does not seem possible to use it: trait Bar\[A\]: def hello(value: A): Int ​ extension (value: A) def h: Int = hello(value) ​ obj…

---

## [Teaching beginners simple GADTs without introducing variance](https://contributors.scala-lang.org/t/teaching-beginners-simple-gadts-without-introducing-variance/4893)

<div class="topic-metadata">

**Author:** [@tabdulradi](https://contributors.scala-lang.org/u/tabdulradi)\
**Replies:** 7\
**Last updated:** [February 21, 2021, 8:42pm UTC](https://contributors.scala-lang.org/t/teaching-beginners-simple-gadts-without-introducing-variance/4893 "2021-02-21T20:42:53Z")

</div>

Hello I am working on Scala 3 training materials and finding it a bit tricky to teach a simple LinkedList enum without having to introduce variance first. enum LinkedList\[A\]: case Empty case NonEmpty(a: A, tail: Li…

---

## [There's a glaring problem with Typeclass derivation](https://contributors.scala-lang.org/t/theres-a-glaring-problem-with-typeclass-derivation/4882)

<div class="topic-metadata">

**Author:** [@AugustNagro](https://contributors.scala-lang.org/u/AugustNagro)\
**Replies:** 5\
**Last updated:** [February 16, 2021, 9:00am UTC](https://contributors.scala-lang.org/t/theres-a-glaring-problem-with-typeclass-derivation/4882 "2021-02-16T09:00:28Z")

</div>

It’s too enjoyable to use, especially combined with extension methods. I made a ‘JSON library’ with it here if anyone’s interested in seeing a full example:

---

## [Quill Dotty Update](https://contributors.scala-lang.org/t/quill-dotty-update/4080)

<div class="topic-metadata">

**Author:** [@deusaquilus](https://contributors.scala-lang.org/u/deusaquilus)\
**Replies:** 26\
**Last updated:** [December 27, 2020, 6:35am UTC](https://contributors.scala-lang.org/t/quill-dotty-update/4080 "2020-12-27T06:35:46Z")

</div>

At this point, I would like to share some detail about Quill’s path forward. For the past several months I’ve been heavily focused on prototyping Quill in the Dotty macro system. With the initial POC being almost complet…

---

## [Please, please keep the Tasty Reflect APIs simple enough for unfamiliar developers](https://contributors.scala-lang.org/t/please-please-keep-the-tasty-reflect-apis-simple-enough-for-unfamiliar-developers/4698)

<div class="topic-metadata">

**Author:** [@deusaquilus](https://contributors.scala-lang.org/u/deusaquilus)\
**Replies:** 9\
**Last updated:** [December 15, 2020, 7:41am UTC](https://contributors.scala-lang.org/t/please-please-keep-the-tasty-reflect-apis-simple-enough-for-unfamiliar-developers/4698 "2020-12-15T07:41:10Z")

</div>

@nicolasstucki and @liufengyun. First of all, I would like to thank you, very, very, very much for your amazing work with Tasty-Reflect! What you are doing will enable the future Scala Macro Writers to build amazing thin…

---

## [Scala 3 and Reflection](https://contributors.scala-lang.org/t/scala-3-and-reflection/3627)

<div class="topic-metadata">

**Author:** [@pshirshov](https://contributors.scala-lang.org/u/pshirshov)\
**Replies:** 22\
**Last updated:** [October 26, 2020, 8:29am UTC](https://contributors.scala-lang.org/t/scala-3-and-reflection/3627 "2020-10-26T08:29:50Z")

</div>

At this point there is no decision nor active discussion about an alternative for scala-reflect in Scala 3. There are opinions that: Reflection is not important, everything may be done at compile time All the use case…

---

## [Given search when reading the code](https://contributors.scala-lang.org/t/given-search-when-reading-the-code/4346)

<div class="topic-metadata">

**Author:** [@pagoda\_5b](https://contributors.scala-lang.org/u/pagoda_5b)\
**Replies:** 1\
**Last updated:** [June 11, 2020, 12:04pm UTC](https://contributors.scala-lang.org/t/given-search-when-reading-the-code/4346 "2020-06-11T12:04:19Z")

</div>

I apologise in advance if this has already been detailed elsewhere, but the given/implicits debate is so widespread that it’s hard to nitpick the needed information. Please refer me to the relevant post as needed. I’ve…

[Next page](https://contributors.scala-lang.org/c/dotty/15.md?page=1)
