You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only difference between checking cyclicity of a match type
in an object O and on the toplevel is that the matchtype itself
has the prefix O.this in the first case, and TermRef(_, pkgObject)
in the second case (this is because the match type is actually looked
up in the package scope, not in the package object scope).
This made a difference in the isTrivial check when computing type parameters.
And this in turn caused spurious cycles to be reported. The fix is
to add the missing case to isTrivial.
0 commit comments