[IronPython] expected Array, got Array[int]

Sanghyeon Seo sanxiyn at gmail.com
Wed Aug 30 07:58:18 CEST 2006

Given the method,
public static int method(byte[] array)

ints = Array[int]([1, 2, 3])

prints this confusing error message:
TypeError: expected Array, got Array[int]

Surely, "expected Array[Byte], got Array[int]" is a more useful error message.

Seo Sanghyeon

More information about the Ironpython-users mailing list