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

Unified Diff: tests/compiler/dart2js/trust_type_annotations_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/trust_type_annotations_test.dart
diff --git a/tests/compiler/dart2js/trust_type_annotations_test.dart b/tests/compiler/dart2js/trust_type_annotations_test.dart
index 55514ab32516b98d5a8c85ed705cdd6e2e30f0be..a804f0e6b011fde671f8a0a3f728f9c0ec269c97 100644
--- a/tests/compiler/dart2js/trust_type_annotations_test.dart
+++ b/tests/compiler/dart2js/trust_type_annotations_test.dart
@@ -56,13 +56,13 @@ void main() {
ClassElement classA = findElement(compiler, "A");
checkReturn(String name, TypeMask type) {
- var element = classA.lookupMember(name);
+ MemberElement element = classA.lookupMember(name);
var mask = typesInferrer.getReturnTypeOfMember(element);
Expect.isTrue(type.containsMask(mask, closedWorld));
}
checkType(String name, type) {
- var element = classA.lookupMember(name);
+ MemberElement element = classA.lookupMember(name);
Expect.isTrue(type.containsMask(
typesInferrer.getTypeOfMember(element), closedWorld));
}
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_try_catch_test.dart ('k') | tests/compiler/dart2js/type_inference6_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698