Skip to content

Make Ycheck stricter #3763

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
Apr 1, 2018
Merged

Make Ycheck stricter #3763

merged 1 commit into from
Apr 1, 2018

Conversation

allanrenucci
Copy link
Contributor

I found out that in some cases Ycheck would print an error but not fail. Is it intended?

if (this.flatClasses) {
registry.get(name) match {
case Some(prev) =>
assert(sym eq prev, i"$typ defined twice $sym ${sym.id} ${prev.id}")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The same symbol goes through def transformSym(symd: SymDenotation)(implicit ctx: Context): SymDenotation multiple times. Is this expected?

Copy link
Member

Choose a reason for hiding this comment

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

Fix in #4224

@allanrenucci allanrenucci requested a review from smarter March 28, 2018 15:46
@allanrenucci allanrenucci merged commit 14187e2 into scala:master Apr 1, 2018
@allanrenucci allanrenucci deleted the ycheck branch April 1, 2018 16:33
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