Skip to content

Reduce the amount of typing in Namer, fixes compiling Seq #988

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

Merged
merged 2 commits into from
Dec 5, 2015

Conversation

smarter
Copy link
Member

@smarter smarter commented Dec 1, 2015

Review by @odersky

This commit fixes two issues which caused us to complete Seq too early and
read it from the classpath instead of from the sources:
- Evaluting RepeatedParamClass forced Seq, this is not necessary
  because the type of RepeatedParamClass is a LazyType
- TypeErasure#sigName on a Scala type always forced Seq, even if
  the type is not a repeated param type.

This fixes scala#980.
The less typing we do during Namer, the better.
@odersky
Copy link
Contributor

odersky commented Dec 5, 2015

LGTM

odersky added a commit that referenced this pull request Dec 5, 2015
Reduce the amount of typing in Namer, fixes compiling Seq
@odersky odersky merged commit 80eb242 into scala:master Dec 5, 2015
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.

3 participants