mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
fix branch_canonicalization_test
Change-Id: Icd26e9edf3dbf513c614743a97c696ed88df00db Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107570 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
This commit is contained in:
parent
a2e1434603
commit
822de210b5
3 changed files with 1 additions and 4 deletions
|
@ -47,7 +47,7 @@ fooPoly(a, b) => barPoly(a, b) ? 1 : 0;
|
|||
|
||||
main() {
|
||||
final a = 1.0;
|
||||
final b = 1 << 62;
|
||||
final b = 0x4000000000000000; // 1 << 62
|
||||
final x = new A(), y = new B(), z = new C();
|
||||
for (var i = 0; i < 20; i++) {
|
||||
Expect.equals(1, fooDouble(a, a));
|
||||
|
|
|
@ -17,7 +17,6 @@ bit_operations_test: RuntimeError
|
|||
bit_operations_test/03: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
bit_operations_test/04: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
bit_operations_test/none: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
branch_canonicalization_test: RuntimeError
|
||||
call_method_as_cast_test/06: RuntimeError
|
||||
call_method_implicit_tear_off_implements_function_test/05: RuntimeError
|
||||
call_method_implicit_tear_off_implements_function_test/06: RuntimeError
|
||||
|
@ -269,7 +268,6 @@ await_test: RuntimeError
|
|||
bit_operations_test/03: RuntimeError
|
||||
bit_operations_test/04: RuntimeError
|
||||
bit_operations_test/none: RuntimeError
|
||||
branch_canonicalization_test: RuntimeError
|
||||
canonical_const2_test: RuntimeError, OK # non JS number semantics
|
||||
checked_method_error_order_test: RuntimeError
|
||||
class_cycle_test/02: MissingCompileTimeError
|
||||
|
|
|
@ -298,7 +298,6 @@ bit_operations_test/02: MissingCompileTimeError
|
|||
bit_operations_test/03: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
bit_operations_test/04: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
bit_operations_test/none: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
branch_canonicalization_test: RuntimeError # Issue 29920; Expect.equals(expected: <0>, actual: <1>) fails.
|
||||
built_in_identifier_prefix_test: CompileTimeError
|
||||
canonical_const2_test: RuntimeError # Ints and doubles are unified.; Expect.isFalse(true) fails.
|
||||
closure_call_wrong_argument_count_negative_test: Fail
|
||||
|
|
Loading…
Reference in a new issue