Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 21, 2014

Avoid substitituting A.this if A is a globally accesible module. Review by @DarkDimius

Avoid substitituting A.this if A is a globally accesisble mdoule.
DarkDimius added a commit that referenced this pull request Jul 21, 2014
@DarkDimius DarkDimius merged commit 7fe148d into scala:master Jul 21, 2014
@@ -832,6 +832,10 @@ object Types {
final def substThis(cls: ClassSymbol, tp: Type)(implicit ctx: Context): Type =
ctx.substThis(this, cls, tp, null)

/** As substThis, but only is class is a static owner (i.e. a globally accessible object) */
Copy link

Choose a reason for hiding this comment

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

s/is/if/ ?

@allanrenucci allanrenucci deleted the fux/substThis branch December 14, 2017 19:23
WojciechMazur pushed a commit to WojciechMazur/dotty that referenced this pull request Mar 19, 2025
Backport "Resolve name when named imp is behind wild imps" 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.

3 participants