| Index: lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| diff --git a/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate b/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| index 9cb9236b532cb9ce8debd856f7eb848dcbe96a06..04a15955266de9b945bdc1f5b64cc268b738d515 100644
|
| --- a/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| +++ b/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
|
| @@ -28,7 +28,7 @@ class _FilteredElementList implements List {
|
| if (newLength >= len) {
|
| return;
|
| } else if (newLength < 0) {
|
| - throw const ArgumentError("Invalid list length");
|
| + throw new ArgumentError("Invalid list length");
|
| }
|
|
|
| removeRange(newLength - 1, len - newLength);
|
|
|