Ali Çehreli: > That's because the type of literals like [1, 2] are slices (dynamic > arrays), not fixed-sized arrays. Then why is this accepted? foo!int([[1,2],[3,4],[5,6]]); // OK Bye, bearophile