Stephen Adams
c310592643
[corelib] Fix unsigned_shift_test
...
1. Replace unintended '>>' with '>>>'
2. If infinity is an int, it is a large shift count and not an error.
3. Improve web coverage: Put the dynamic validation tests their own
(multi)parts so that failures of validation are separate to incorrect
results so can't mask incorrect results.
Change-Id: I569135507f1f23a01bde1f85f7ce91dec2bd8df4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/189960
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2021-03-09 17:15:00 +00:00
Stephen Adams
6f18bce08d
[dart2js] Fix unsigned_shift_test
...
Original test contains int literals that are illegal on web.
Change-Id: I87ba80ae273792dd5572e9890a339d4d3df34fb6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/186920
Commit-Queue: Stephen Adams <sra@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
2021-02-24 22:01:24 +00:00
Alexander Markov
7f8001218b
[vm] Support unsigned shift operator int.>>>
...
TEST=runtime/tests/vm/dart/unsigned_shift_right_test.dart and other
tests for >>>.
Issue https://github.com/dart-lang/sdk/issues/30892
Issue https://github.com/dart-lang/sdk/issues/44914
Change-Id: I7f0a9e1e486be06576c5d9bff3659b0aa6d68c23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184921
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
2021-02-24 00:14:57 +00:00
Mayank Patke
a689f8df06
corelib_2/unsigned_shift_test fixes
...
Just doing some test cleanup on massively failing tests. This test still won't pass until we support `>>>` but we can fix some of the issues.
Change-Id: I1a111455c969f21644ab2713f81f4ee00e7383f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115881
Auto-Submit: Mayank Patke <fishythefish@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Commit-Queue: Mayank Patke <fishythefish@google.com >
2019-09-06 19:49:57 +00:00
Lasse R.H. Nielsen
dd19353abb
Update test of operator >>>.
...
Change-Id: Idd8c6dfcf875a53c536aa3535561f259cf7bcd1b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98005
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-05-02 09:04:18 +00:00