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

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

Issue 2955353002: Split inference type-info accessors into members, parameters and local functions (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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/mirror_final_field_inferrer_test.dart
diff --git a/tests/compiler/dart2js/mirror_final_field_inferrer_test.dart b/tests/compiler/dart2js/mirror_final_field_inferrer_test.dart
index 0934e37f23be951b3c963bb44cf2fe920fef5565..5df35104b78cd418758014c4a33dc6423dd47e8e 100644
--- a/tests/compiler/dart2js/mirror_final_field_inferrer_test.dart
+++ b/tests/compiler/dart2js/mirror_final_field_inferrer_test.dart
@@ -31,9 +31,7 @@ void main() {
var typesInferrer = compiler.globalInference.typesInferrerInternal;
var closedWorld = typesInferrer.closedWorld;
var commonMasks = closedWorld.commonMasks;
- Expect.equals(
- commonMasks.uint31Type,
- simplify(typesInferrer.getTypeOfElement(element), closedWorld),
- 'field');
+ Expect.equals(commonMasks.uint31Type,
+ simplify(typesInferrer.getTypeOfMember(element), closedWorld), 'field');
});
}
« no previous file with comments | « tests/compiler/dart2js/mirror_final_field_inferrer2_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_and_or_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698