Skip to content

Remove dead code for unpickling java repeated #3678

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 1 commit into from
Dec 19, 2017

Conversation

allanrenucci
Copy link
Contributor

Repeated arguments of a method call are encoded as
Typed(SeqLiteral,<repeated>). case SeqLiteral is dead code.

@allanrenucci allanrenucci requested a review from smarter December 19, 2017 13:21
case arg => arg
}
tpd.Apply(fn, until(end)(readArg()))
tpd.Apply(fn, until(end)(readTerm()))
case TYPEAPPLY =>
tpd.TypeApply(readTerm(), until(end)(readTpt()))
case TYPED =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the use of JavaSeqLiteral in this case be removed too?

Repeated arguments of a method call are encoded as
`Typed(SeqLiteral,<repeated>)`.
@allanrenucci allanrenucci merged commit 48fde8b into scala:master Dec 19, 2017
@allanrenucci allanrenucci deleted the topic-#3674 branch December 19, 2017 17:25
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.

2 participants