Skip to content

SI-8233 Fix regression in backend with boxed nulls #3462

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
Feb 5, 2014

Conversation

retronym
Copy link
Member

@retronym retronym commented Feb 4, 2014

Regressed in SI-7015 / 1b6661b.

We do need to "unbox" the null (ie, drop a stack from and load
a null) in general. The only time we can avoid this is if the
tree we are adapting is a Constant(Literal(null)).

I've added a test for both backends. Only GenICode exhibited
the problem.

Review by @gkossakowski, /cc @JamesIry

@gkossakowski
Copy link
Contributor

I checked SI-8223 and there's no mention of null in that ticket. Is it some other ticket you meant?

@adriaanm
Copy link
Contributor

adriaanm commented Feb 4, 2014

It's SI-8233

@adriaanm
Copy link
Contributor

adriaanm commented Feb 4, 2014

We should really automate JIRA <> GitHub synch. I tried enabling it some time ago, but it doesn't work and I don't even know where to start in fixing it.

@retronym
Copy link
Member Author

retronym commented Feb 4, 2014

Yeah that's the one. It's a regression from 2.10 from jet brains. Another report coming from Alexander tomorrow.

@gkossakowski
Copy link
Contributor

@retronym: please fix the ticket number in the diff.

Other than that LGTM.

Regressed in SI-7015 / 1b6661b.

We do need to "unbox" the null (ie, drop a stack from and load
a null) in general. The only time we can avoid this is if the
tree we are adapting is a `Constant(Literal(null))`.

I've added a test for both backends. Only GenICode exhibited
the problem.
@retronym
Copy link
Member Author

retronym commented Feb 5, 2014

updated

adriaanm added a commit that referenced this pull request Feb 5, 2014
SI-8233 Fix regression in backend with boxed nulls
@adriaanm adriaanm merged commit fd41786 into scala:master Feb 5, 2014
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