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

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

Issue 177963002: Use List instead of Link in the type system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase and some algorithmic bugs fixed. Created 6 years, 9 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_variable_occurrence_test.dart
diff --git a/tests/compiler/dart2js/type_variable_occurrence_test.dart b/tests/compiler/dart2js/type_variable_occurrence_test.dart
index 1d51adf4fd0a914d50654dea9644058abcc388ab..d15dfcdf1554b23d8a74937d90bc2d647e48c47e 100644
--- a/tests/compiler/dart2js/type_variable_occurrence_test.dart
+++ b/tests/compiler/dart2js/type_variable_occurrence_test.dart
@@ -57,10 +57,10 @@ testTypeVariableOccurrence() {
ClassElement A = env.getElement('A');
- expect(bool expect, String memberName) {
+ expect(bool expectTrue, String memberName) {
DartType memberType = env.getMemberType(A, memberName);
TypeVariableType typeVariable = memberType.typeVariableOccurrence;
- if (expect) {
+ if (expectTrue) {
Expect.isNotNull(typeVariable);
Expect.equals(A, Types.getClassContext(memberType));
} else {

Powered by Google App Engine
This is Rietveld 408576698