Это баг, или я опять туплю?
using System.Console;
using System.Linq;
module Program
{
Main() : void
{
def a() {array[1,2,3]};
def b(p) {p.Where(x=>x%2==0)}
WriteLine(b(a()));
_ = ReadLine();
}
}
Error 1 types System.Collections.Generic.IEnumerable[int] and array[int] are not compatible [during intersection]
Error 2 during cleanup: types System.Collections.Generic.IEnumerable[int] and array[int] are not compatible [during intersection]
Error 3 types System.Collections.Generic.IEnumerable[int] and array[int] are not compatible [during intersection]
Error 4 during cleanup: types System.Collections.Generic.IEnumerable[int] and array[int] are not compatible [during intersection]