Bug или не bug
От: Flem1234  
Дата: 03.02.11 15:55
Оценка:
Это баг, или я опять туплю?
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]
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.