Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Oct 19, 2023

Fixes #18684

Copy link
Member

@bishabosha bishabosha left a comment

Choose a reason for hiding this comment

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

nice, a possible improvement to the explanation could be to provide an example, e.g. if the user does not expect that its possible to put a pattern after val (I understand this also warning appears in standard match case)

@odersky odersky merged commit 3e105f2 into scala:main Oct 19, 2023
@odersky odersky deleted the fix-#18684 branch October 19, 2023 16:19
@Kordyjan Kordyjan added this to the 3.4.0 milestone Dec 20, 2023
WojciechMazur added a commit that referenced this pull request Jun 22, 2024
…found." to LTS (#20726)

Backports #18725 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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.

confusing "Not found" error when I change "def foo()" to "val foo()"
4 participants