Himansh Singh
10/31/2020, 2:30 AMVampire
10/31/2020, 10:57 AMList<Int|String>
but instead does List<Nothing>
, which makes it impossible to add anything. Probably because it is safer than to allow Any
just because two types were used. You should open an issue about the type inference, that it should produce the union type instead imho. If there is none yet that is.Himansh Singh
10/31/2020, 6:44 PM