Please sign in to comment.
Account for a variation of package types in Implicit Divergence.
While debugging pos/t7983.scala, I noticed that: complexity(scala.type): 1 complexity(Int): 2 The intent of the code is that top level classes should have a complexity of one. This commit restores that for cases when we see the prefix type as a ThisType, rather than a SingleType. I can't construct a test case in which this small difference is observable in the divergence checks.
- Loading branch information...
Showing with 1 addition and 0 deletions.