Index: tests/compiler/dart2js/closure/closure_test.dart |
diff --git a/tests/compiler/dart2js/closure/closure_test.dart b/tests/compiler/dart2js/closure/closure_test.dart |
index c04774fc3c5fb838329cced7818770d38d5983a2..68fd9ec5126a4f41ebc32e3624e439825d31a2b4 100644 |
--- a/tests/compiler/dart2js/closure/closure_test.dart |
+++ b/tests/compiler/dart2js/closure/closure_test.dart |
@@ -129,7 +129,7 @@ class ClosureIrChecker extends AbstractIrComputer { |
/// Compute a string representation of the data stored for [local] in [info]. |
String computeLocalValue(ClosureRepresentationInfo info, Local local) { |
StringBuffer sb = new StringBuffer(); |
- if (info.localIsUsedInTryOrSync(local)) { |
+ if (info.variableIsUsedInTryOrSync(local)) { |
sb.write('inTry'); |
} |
// TODO(johnniwinther,efortuna): Add more info (captured, boxed etc.). |