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

Unified Diff: tests/compiler/dart2js/type_inference_switch_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_inference8_test.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/type_inference_switch_test.dart
diff --git a/tests/compiler/dart2js/type_inference_switch_test.dart b/tests/compiler/dart2js/type_inference_switch_test.dart
index 56e468ed7e076ac8bfe4a555f22310e6eb9f9843..8b0b8e46e064ebf73c6d00f722374c9036745ea6 100644
--- a/tests/compiler/dart2js/type_inference_switch_test.dart
+++ b/tests/compiler/dart2js/type_inference_switch_test.dart
@@ -139,7 +139,7 @@ Future runTest(String test, checker) {
var commonMasks = closedWorld.commonMasks;
checkTypeOf(String name, TypeMask type) {
- var element = findElement(compiler, name);
+ MemberElement element = findElement(compiler, name);
var mask = typesInferrer.getReturnTypeOfMember(element);
Expect.equals(type, simplify(mask, closedWorld));
}
« no previous file with comments | « tests/compiler/dart2js/type_inference8_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698