Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

No description provided.

denot.infoOrCompleter match {
case _: NoCompleter =>
case _ => denot.ensureCompleted()
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not simply denot.ensureCompleted()? I expect it to be NoOp if infoOrCompleter returns NoCompleter.

Copy link
Contributor

Choose a reason for hiding this comment

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

Apparently I am wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will revert that change

Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

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

LGTM

@nicolasstucki nicolasstucki merged commit b24f80d into scala:master Feb 21, 2018
@allanrenucci allanrenucci deleted the fix-from-tasty-tree-loading branch February 21, 2018 12:07
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