Skip to content

New ClassTags implementation #1105

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

Closed
wants to merge 8 commits into from
Closed

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Feb 18, 2016

Generate ClassTags in Typer.

Fixes #1098. Review by @DarkDimius

Tests failures were caused by previous incomplete implementation
of classTag.
Now diagnoses missing ClassTags of abstract types
as implicit failures.

Also: Simpler API of tpd.clsOf.
If a classtag for `T` is available, a classtag
for `Array[T]` can also be generated.
Context bounds did not make it before into secondary
constructors. Now the evidence parameters generated
by context bounds get copied into secondary constructors.

Without this fix, scala.collection.immutable.PagedSeq fails
to compile in new classtag scheme.
Make use of Definitions as the repository for
standard symbols in Predef.
Now subsumed by functionality in Typer.
@odersky
Copy link
Contributor Author

odersky commented Feb 20, 2016

Closed as a separate PR. #1111 contains all commits of this PR anyway, and I did not want to have to do the busywork of rebasing each PR separately.

@odersky odersky closed this Feb 20, 2016
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.

1 participant