Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

Backports #19103 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

…19103)

Previously, simpleExpr was recovered as `Literal(Constant(null))` which
led to some errors in interactive.

Type inference in Scala 3 works on whole chain, thus type vars were
inferred as union type of `Null` because of this very reason. Recovering
such errors as `unimplementedExpr` which has a type of `Nothing`, solves
the issue.
[Cherry-picked 98184f1][modified]
Base automatically changed from lts-19209 to lts-3.3 June 26, 2024 09:23
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-19356.

Reference

@WojciechMazur WojciechMazur merged commit 9d202ef into lts-3.3 Jun 26, 2024
@WojciechMazur WojciechMazur deleted the lts-19103 branch June 26, 2024 09:23
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.

2 participants