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

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

Issue 1391193002: Make computeSignature private to modelx. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 2 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/type_equals_test.dart
diff --git a/tests/compiler/dart2js/type_equals_test.dart b/tests/compiler/dart2js/type_equals_test.dart
index e7e40386b36fbbb544781de022b089032baf48eb..0911d60b7dd69428e28993931992596817fa99c1 100644
--- a/tests/compiler/dart2js/type_equals_test.dart
+++ b/tests/compiler/dart2js/type_equals_test.dart
@@ -17,10 +17,10 @@ bool test(compiler, String name1, String name2, {bool expect}) {
Expect.isNotNull(element2);
Expect.equals(element1.kind, ElementKind.FUNCTION);
Expect.equals(element2.kind, ElementKind.FUNCTION);
- FunctionSignature signature1 =
- element1.computeSignature(compiler.resolution);
- FunctionSignature signature2 =
- element2.computeSignature(compiler.resolution);
+ element1.computeType(compiler.resolution);
+ element2.computeType(compiler.resolution);
+ FunctionSignature signature1 = element1.functionSignature;
+ FunctionSignature signature2 = element2.functionSignature;
// Function signatures are used to be to provide void types (only occuring as
// as return types) and (inlined) function types (only occuring as method
« no previous file with comments | « tests/compiler/dart2js/concrete_type_inference_test.dart ('k') | tests/compiler/dart2js/type_substitution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698