damian
10/14/2017, 12:02 AMArrayList
implements Serializable
, but this has the caveat that the runtime type of elements are actually serializable. Could the specialization mechanism in Valhalla (at least with the spec thus far) support conditionally implementing interfaces? e.g. could we see a feature in the distant future that would support something like class ArrayList<_specializable T> : List<T>, Serializable _whenever T : Serializable
?elizarov
10/14/2017, 6:44 AMdamian
10/16/2017, 7:40 PM