Skip to content

Fix subtyping checks involving ThisType and PolyParam #192

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
Nov 11, 2014

Conversation

smarter
Copy link
Member

@smarter smarter commented Oct 14, 2014

I don't know if the problem occurs with other types than ThisType or if there's a cleaner fix.
Review by @odersky @DarkDimius @namin .

@smarter smarter force-pushed the fix/ThisType-subtyping branch 2 times, most recently from 0c2ba3c to f731d22 Compare November 10, 2014 20:18
@smarter
Copy link
Member Author

smarter commented Nov 10, 2014

Using widenExpr fixes the problem and doesn't break any test.

@smarter smarter force-pushed the fix/ThisType-subtyping branch from f731d22 to 629dae0 Compare November 11, 2014 07:47
@odersky
Copy link
Contributor

odersky commented Nov 11, 2014

LGTM

odersky added a commit that referenced this pull request Nov 11, 2014
Fix subtyping checks involving ThisType and PolyParam
@odersky odersky merged commit 8d44da5 into scala:master Nov 11, 2014
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 8, 2016
Structural calls should be faster thanks to method caching. Fixed issue
scala#192.
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 12, 2016
Structural calls should be faster thanks to method caching. Fixed issue
scala#192.
WojciechMazur pushed a commit to WojciechMazur/dotty that referenced this pull request May 8, 2025
Backport "Fix SeparateCompilationSource toString" to 3.3 LTS
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