Skip to content

More helpful implicit not found message for ClassTag[T] - #26715

Open
SolalPirelli wants to merge 4 commits into
scala:mainfrom
dotty-staging:solal/classtag-not-found
Open

More helpful implicit not found message for ClassTag[T]#26715
SolalPirelli wants to merge 4 commits into
scala:mainfrom
dotty-staging:solal/classtag-not-found

Conversation

@SolalPirelli

Copy link
Copy Markdown
Contributor

Fixes #24506

This should be better overall, though it may be a little confusing if you do weird things like Array[Int & Nothing](), but presumably those are not common.

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

No

How was the solution tested?

Covered by existing tests (this is a refactoring)

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.

Error message "No ClassTag available for T" not helpful on what to do to fix it and has no reflect.ClassTag to show where it is

2 participants