Skip to content

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