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

Fixes for SI-5859, SI-5353, SI-4729. #1430

Merged
merged 3 commits into from
Oct 2, 2012
Merged

Fixes for SI-5859, SI-5353, SI-4729. #1430

merged 3 commits into from
Oct 2, 2012

Conversation

paulp
Copy link
Contributor

@paulp paulp commented Sep 30, 2012

Mostly to do with varargs. Review by @jsuereth.

And other polishing related to varargs handling.
The fix of course is a perfect error message.
This was a bad interaction between anonymous subclasses
and bridge methods.

  new Foo { override def bar = 5 }

Scala figures it can mark "bar" private since hey, what's
the difference.  The problem is that if it was overriding a
java-defined varargs method in scala, the bridge method
logic says "Oh, it's private? Then you don't need a varargs
bridge." Hey scalac, you're the one that made me private!
You made me like this! You!
@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/660/

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1369/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1369/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/660/

@gkossakowski
Copy link
Contributor

@paulp: @jsuereth is busy with conferences this week. Also, changes to type checker are probably better reviewed by @adriaanm. He is back now.

@paulp
Copy link
Contributor Author

paulp commented Oct 2, 2012

Review by @adriaanm !

@adriaanm
Copy link
Contributor

adriaanm commented Oct 2, 2012

LGTM. Perfect even. Other comments are for educational purposes only.

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