Skip to content

Parser: allow incomplete files when return type is missing - #27175

Merged
SolalPirelli merged 1 commit into
scala:mainfrom
dotty-staging:solal/incomplete-open-paren
Sep 28, 2026
Merged

SolalPirelli merged 1 commit into
scala:mainfrom
dotty-staging:solal/incomplete-open-paren

Conversation

@SolalPirelli

Copy link
Copy Markdown
Contributor

Fixes #27172

Have you relied on LLM-based tools in this contribution?

No

How was the solution tested?

New automated tests (including the issue's reproducer, if applicable)

@SolalPirelli
SolalPirelli marked this pull request as ready for review September 28, 2026 11:58

@tgodzik tgodzik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SolalPirelli
SolalPirelli merged commit af35eef into scala:main Sep 28, 2026
62 checks passed
@SolalPirelli
SolalPirelli deleted the solal/incomplete-open-paren branch September 28, 2026 13:27
@WojciechMazur WojciechMazur added this to the 3.10.1 milestone Oct 11, 2026
tgodzik added a commit to scala/scala3-lts that referenced this pull request Nov 17, 2026
Fixes scala#27172

## Have you relied on LLM-based tools in this contribution?

No

## How was the solution tested?

New automated tests (including the issue's reproducer, if applicable)
[Cherry-picked af35eef][modified]
tgodzik pushed a commit to scala/scala3-lts that referenced this pull request Nov 17, 2026
Fixes scala#27172

## Have you relied on LLM-based tools in this contribution?

No

## How was the solution tested?

New automated tests (including the issue's reproducer, if applicable)
[Cherry-picked af35eef]
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.

Scala 3 REPL prematurely terminates multiline def parameter lists

3 participants