You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected output? What do you see instead?
Expected collection size to be zero, instead a RangeError is thrown. The problem seems to be in the setter.
void set length(int newLength);
What version of the product are you using? On what operating system?
Dart Editor version 0.2.4_r15130
Dart SDK version 0.2.4.2_r15130
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
I've fixed the length issue, but unfortunately this class was not intended to be public and has been moved.
In general this class is a bit odd as it's not a perfect adapter from List<Node> to List<Element>- I would recommend just filtering the collection rather than providing a live wrapper as this does.
This issue was originally filed by @financecoding
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected collection size to be zero, instead a RangeError is thrown. The problem seems to be in the setter.
void set length(int newLength);
What version of the product are you using? On what operating system?
Dart Editor version 0.2.4_r15130
Dart SDK version 0.2.4.2_r15130
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: