Skip to content

Bug fix: `case class Node(children: List[Node])`

Viktor Kuncak requested to merge MikaelMayer-patch-1 into master

Created by: MikaelMayer

The previous hasInstance function was buggy and cannot cover the following case:

case class Node(children: List[Node])

because it originally unwrapped List[Node] to Set(List[Node], Node) and thus was blocked because Node was re-used.

Merge request reports