Skip to content

Addendum when apply error involves default arg#21133

Merged
som-snytt merged 1 commit intoscala:mainfrom
som-snytt:issue/16386-error-in-default
Dec 7, 2025
Merged

Addendum when apply error involves default arg#21133
som-snytt merged 1 commit intoscala:mainfrom
som-snytt:issue/16386-error-in-default

Conversation

@som-snytt
Copy link
Copy Markdown
Contributor

@som-snytt som-snytt commented Jul 9, 2024

Fixes #16386

Ports the Scala 2 addendum that says an erroneous apply involved default args, which are not visible in the source text.

The -explain text shows the application with the default.

@som-snytt som-snytt force-pushed the issue/16386-error-in-default branch from 779fbc7 to 29c03b9 Compare July 9, 2024 15:05
@som-snytt som-snytt closed this Sep 15, 2024
@som-snytt som-snytt reopened this Sep 25, 2025
@som-snytt som-snytt force-pushed the issue/16386-error-in-default branch from 29c03b9 to 89be114 Compare September 25, 2025 01:27
@som-snytt som-snytt force-pushed the issue/16386-error-in-default branch 3 times, most recently from 05e8ed8 to 0dfd992 Compare October 20, 2025 12:33
@som-snytt som-snytt marked this pull request as ready for review October 23, 2025 00:06
@Gedochao Gedochao requested a review from odersky November 3, 2025 11:59
@odersky odersky assigned som-snytt and unassigned odersky Nov 28, 2025
@odersky
Copy link
Copy Markdown
Contributor

odersky commented Nov 28, 2025

This might need a rebase since some tests are stuck.
.

@som-snytt som-snytt force-pushed the issue/16386-error-in-default branch from 0dfd992 to c70a295 Compare November 28, 2025 18:01
@som-snytt som-snytt merged commit 0bb0433 into scala:main Dec 7, 2025
46 checks passed
@som-snytt som-snytt deleted the issue/16386-error-in-default branch December 7, 2025 22:19
@WojciechMazur WojciechMazur added this to the 3.8.1 milestone Jan 13, 2026
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.

Obscure error messages with default args in application

5 participants