Napisałem ten sposób przedłużenie (który kompiluje): public static IEnumerable<J> Flatten<T, J>(this IEnumerable<T> @this)
where T : IEnumerable<J>
{
foreach (T t in @this)
Więc czytam Eric Lippert's 'Constraints are not part of the signature', a teraz rozumiem, że specyfikacja określa, że ograniczenia typu są sprawdzane PO rozdzielczości przeciążenia, ale nadal nie je
mam rodzajowe klasy Java, który przechowuje elementy porównawcze: public class MyGenericStorage<T extends Comparable<T>> {
private T value;
public MyGenericStorage(T value) {
this.val