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

Unified Diff: tests/compiler/dart2js/simple_inferrer_final_field3_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/simple_inferrer_final_field3_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart b/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart
index 9c530bd0a4c516a6a712c8729fdc5d8d99638dc6..fa811119fffc50268e45f75be98965425bc0fa49 100644
--- a/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart
@@ -34,7 +34,7 @@ void main() {
dynamic cls = findElement(compiler, className);
var element = cls.lookupLocalMember(fieldName);
Expect.equals(type,
- simplify(typesInferrer.getTypeOfElement(element), closedWorld));
+ simplify(typesInferrer.getTypeOfMember(element), closedWorld));
}
checkFieldTypeInClass(

Powered by Google App Engine
This is Rietveld 408576698