List.removeAt throws TypeError, not ArgumentError #14013
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-core
This issue was originally filed by [email protected]
The description of List.removeAt(int index) reads:
Throws an ArgumentError if index is not an int.
But for lists created by new List() or new List(size), TypeError is thrown if index is not an int.
Affected test:
co19/src/LibTest/core/List/removeAt_A02_t01.dart
The text was updated successfully, but these errors were encountered: