Commit 825cec4
committed
Prevent cyclic instantiations
A cyclic instantiation was observed for neg/byname-implicits-11 when doing
an implicit search for a hidden implicits addendum.
It arose from a subtype check
Foo[Foo[T]] <: Foo[T]
where `Foo` is nonvariant and T is an instantiatable TypeParamRef.1 parent f80a0e9 commit 825cec4
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments