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

Unified Diff: tests/compiler/dart2js/map_tracer_const_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/map_tracer_const_test.dart
diff --git a/tests/compiler/dart2js/map_tracer_const_test.dart b/tests/compiler/dart2js/map_tracer_const_test.dart
index 69da6a5550ef050fe0a5b788b2b67176a3f5ffd3..e0b109dd9836836d7c79baee4d46dfc09f25d464 100644
--- a/tests/compiler/dart2js/map_tracer_const_test.dart
+++ b/tests/compiler/dart2js/map_tracer_const_test.dart
@@ -37,7 +37,7 @@ void main() {
var closedWorld = typesInferrer.closedWorld;
var commonMasks = closedWorld.commonMasks;
var element = findElement(compiler, 'closure');
- var mask = typesInferrer.getReturnTypeOfElement(element);
+ var mask = typesInferrer.getReturnTypeOfMember(element);
Expect.equals(commonMasks.numType, simplify(mask, closedWorld));
}));
}
« no previous file with comments | « tests/compiler/dart2js/list_tracer_typed_data_length_test.dart ('k') | tests/compiler/dart2js/map_tracer_keys_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698