Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error message when "import given" is missing #13731

Merged
merged 1 commit into from Oct 13, 2021

Conversation

smarter
Copy link
Member

@smarter smarter commented Oct 12, 2021

findHiddenImplicitsCtx is necessary for the error message to contain
the line:

Note: given instance given_Int in object A was not considered because
it was not imported with import given.

But it looks like we accidentally stopped using it in
1760da3, this commit restores the
previous behavior.

`findHiddenImplicitsCtx` is necessary for the error message to contain
the line:

> Note: given instance given_Int in object A was not considered because
>  it was not imported with `import given`.

But it looks like we accidentally stopped using it in
1760da3, this commit restores the
previous behavior.
@smarter smarter merged commit a62acc8 into scala:master Oct 13, 2021
@smarter smarter deleted the hidden-implicit-msg branch October 13, 2021 08:05
@Kordyjan Kordyjan added this to the 3.1.1 milestone Aug 2, 2023
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.

None yet

3 participants