Skip to content

Refactor viewExists #673

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
Jun 21, 2015
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 19, 2015

Factor out isValueSubClass into separate method. Will probably come in handly
elsewhere, and makes the code easier to understand.

Review by @DarkDimius

Factor out isValueSubClass into separate method. Will probably come in handly
elsewhere, and makes the code easier to understand.
@odersky odersky mentioned this pull request Jun 19, 2015
@@ -601,6 +601,19 @@ object Types {
ctx.typeComparer.isSameType(this, that)
}

/** Is this type a primitive value type which can be widened to the primitive value type `to`? */
Copy link
Contributor

Choose a reason for hiding this comment

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

to -> that

@DarkDimius
Copy link
Contributor

Otherwise LGTM

@odersky odersky merged commit 76a056f into scala:master Jun 21, 2015
@allanrenucci allanrenucci deleted the change/refactor-viewExists branch December 14, 2017 16:58
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