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

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

Issue 2999723002: Add stub versions of KernelInferrerEngine and friends (Closed)
Patch Set: Updated cf. comments Created 3 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 | « tests/compiler/dart2js/type_inference6_test.dart ('k') | tests/compiler/dart2js/type_inference8_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_inference7_test.dart
diff --git a/tests/compiler/dart2js/type_inference7_test.dart b/tests/compiler/dart2js/type_inference7_test.dart
index 353085010803cb3447f36b3fed077bbb82dd8543..8875fb35c94ee0bbb0c762d8d34ea2c77a75ce6d 100644
--- a/tests/compiler/dart2js/type_inference7_test.dart
+++ b/tests/compiler/dart2js/type_inference7_test.dart
@@ -26,7 +26,7 @@ Future runTest() async {
var typesInferrer = compiler.globalInference.typesInferrerInternal;
var closedWorld = typesInferrer.closedWorld;
var commonMasks = closedWorld.commonMasks;
- dynamic foo = findElement(compiler, "foo");
+ MethodElement foo = findElement(compiler, "foo");
// Return type is null|bool.
var mask = typesInferrer.getReturnTypeOfMember(foo);
Expect.isTrue(mask.isNullable);
@@ -57,7 +57,7 @@ Future runTest() async {
var typesInferrer = compiler.globalInference.typesInferrerInternal;
var closedWorld = typesInferrer.closedWorld;
var commonMasks = closedWorld.commonMasks;
- dynamic foo = findElement(compiler, "foo");
+ MethodElement foo = findElement(compiler, "foo");
// Return type is null.
var mask = typesInferrer.getReturnTypeOfMember(foo);
Expect.isTrue(mask.isNullable);
« no previous file with comments | « tests/compiler/dart2js/type_inference6_test.dart ('k') | tests/compiler/dart2js/type_inference8_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698