Skip to content

Backport "Also map types in Implicits.emitDictionary" to 3.3 LTS - #1059

Open
tgodzik wants to merge 1 commit into
backport-lts-3.3-26019from
backport-lts-3.3-26143
Open

Backport "Also map types in Implicits.emitDictionary" to 3.3 LTS#1059
tgodzik wants to merge 1 commit into
backport-lts-3.3-26019from
backport-lts-3.3-26143

Conversation

@tgodzik

@tgodzik tgodzik commented Aug 6, 2026

Copy link
Copy Markdown

Backports scala#26143 to the 3.3.9.

PR submitted by the release tooling.
[skip ci]

@tgodzik
tgodzik force-pushed the backport-lts-3.3-26019 branch from decf07b to 7679064 Compare August 7, 2026 15:54
Fixes: scala#20448

Before the test case would crash with
```
Exception in thread "main" java.lang.AssertionError: assertion failed: unresolved symbols: value $_lazy_implicit_$1 (line -1) scala#15419 when pickling /home/eejbyfeldt/dev/eejbyfeldt/scala_playground/scala3_crash.scala
	at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
	at dotty.tools.dotc.core.tasty.TreePickler.pickle(TreePickler.scala:872)
	at dotty.tools.dotc.transform.Pickler.run$$anonfun$1$$anonfun$1(Pickler.scala:136)
```
Because if there were path dependent types the types would not be
updated and still refer to the old symbols.

[Cherry-picked fa7b91d]
@tgodzik
tgodzik force-pushed the backport-lts-3.3-26143 branch from 6b6d496 to 60c551c Compare August 7, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant