Skip to content

Replacing empty+erased function check with assert #7385

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
Oct 8, 2019

Conversation

Batanick
Copy link
Contributor

@Batanick Batanick commented Oct 7, 2019

A followup for conversation in Gitter with @smarter. Looks like assert is a way to go, since these conditions cannot be met.

This should be relevant #1589 - Typer.scala:866

Copy link
Member

@dottybot dottybot left a comment

Choose a reason for hiding this comment

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

Hello, and thank you for opening this PR! 🎉

All contributors have signed the CLA, thank you! ❤️

Have an awesome day! ☀️

@Batanick Batanick marked this pull request as ready for review October 7, 2019 22:41
@Batanick Batanick force-pushed the erased_function_assert branch from 33ddb7b to b1d7725 Compare October 8, 2019 07:17
@nicolasstucki nicolasstucki merged commit e7bf561 into scala:master Oct 8, 2019
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