Closed
Description
This issue was originally filed by @butlermatt
Dart library reference indicates that List.add has a void return type. However it currently returns the new array size in the Dart VM. dartboard shows correct results.
eg:
main() {
var list = new List();
var x = list.add('foo');
print(x);
}
Output: 1
Expected null.