We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider the following program:
main() { bugbug(2.0); }
bugbug(x) { print(x); List l = [ 0, 1, 2]; print (l[x]); }
With dart2js, we get:
2 2
In the VM, we get:
2.0 Exception: type 'double' is not a subtype of type 'int' of 'index'.
I'm guessing that the VM is right, so I'm putting this in the dart2js area, although I prefer the behavior of dart2js.
The text was updated successfully, but these errors were encountered:
Added Duplicate label. Marked as being merged into #1533.
Sorry, something went wrong.
No branches or pull requests
Consider the following program:
main() {
bugbug(2.0);
}
bugbug(x) {
print(x);
List l = [ 0, 1, 2];
print (l[x]);
}
With dart2js, we get:
2
2
In the VM, we get:
2.0
Exception: type 'double' is not a subtype of type 'int' of 'index'.
I'm guessing that the VM is right, so I'm putting this in the dart2js area, although I prefer the behavior of dart2js.
The text was updated successfully, but these errors were encountered: