Skip to content

Improve error reporting on context bounds (correct position, improved messaging)#10015

Merged
SethTisue merged 1 commit intoscala:2.13.xfrom
som-snytt:issue/evidence-pos
May 12, 2022
Merged

Improve error reporting on context bounds (correct position, improved messaging)#10015
SethTisue merged 1 commit intoscala:2.13.xfrom
som-snytt:issue/evidence-pos

Conversation

@som-snytt
Copy link
Copy Markdown
Contributor

@som-snytt som-snytt commented Apr 26, 2022

The caret will point to the bound.

Supersedes #10014 which kindly calls it "probably" a bug, but there may be further tweaking of types. I think the correct position suffices, but implicit not found will say evidence parameter evidence$1, so this PR risks the redundancy.

@som-snytt som-snytt force-pushed the issue/evidence-pos branch from 731121d to 6bda2f1 Compare April 26, 2022 09:12
@SethTisue SethTisue modified the milestones: 2.13.10, 2.13.9 Apr 26, 2022
@SethTisue SethTisue requested a review from lrytz May 12, 2022 09:44
@SethTisue SethTisue merged commit e623b15 into scala:2.13.x May 12, 2022
@SethTisue SethTisue changed the title Improve position of context bound, add type to error Improve error reporting on context bounds (correct position, improved messaging) May 12, 2022
@som-snytt som-snytt deleted the issue/evidence-pos branch May 12, 2022 17:41
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.

4 participants