Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1141)

Unified Diff: tests/compiler/dart2js/cpa_inference_test.dart

Issue 1276353006: dart2js: Do not use JSDouble for native behavior return types. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Replace use of JS('double') Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/math_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/cpa_inference_test.dart
diff --git a/tests/compiler/dart2js/cpa_inference_test.dart b/tests/compiler/dart2js/cpa_inference_test.dart
index 821a54e3b7516a2508500b88ecfd7884011aa71e..2a624b416d5cf836f0a3ced7701ac11e107788ed 100644
--- a/tests/compiler/dart2js/cpa_inference_test.dart
+++ b/tests/compiler/dart2js/cpa_inference_test.dart
@@ -1454,7 +1454,7 @@ testJsCall() {
final expectedEType = [result.int];
result.checkNodeHasType('e', expectedEType);
result.checkNodeHasType('eNull', maybe(expectedEType));
- final expectedFType = [result.double];
+ final expectedFType = [result.num];
result.checkNodeHasType('f', expectedFType);
result.checkNodeHasType('fNull', maybe(expectedFType));
final expectedGType = [result.num];
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/math_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698