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

Unified Diff: tests/compiler/dart2js/simple_inferrer_global_field_closure_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
Index: tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart b/tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart
index 7a99da32472420cf8d203dbf89a3fa1a922a430a..d81580fea64d5cb3a1e6f7542d6af218ec88e80c 100644
--- a/tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart
@@ -41,7 +41,7 @@ void main() {
var closedWorld = typesInferrer.closedWorld;
checkReturn(String name, type) {
- var element = findElement(compiler, name);
+ MemberElement element = findElement(compiler, name);
dynamic returnType = typesInferrer.getReturnTypeOfMember(element);
Expect.equals(type, returnType.simplify(compiler), name);
}

Powered by Google App Engine
This is Rietveld 408576698