| Index: tests/lib/mirrors/metadata_test.dart
|
| diff --git a/tests/lib/mirrors/metadata_test.dart b/tests/lib/mirrors/metadata_test.dart
|
| index 24998d264d41d41f56453a54ba5156a30567cbb1..2e1c854be28f4e581e533d1916d45fe8cb095b11 100644
|
| --- a/tests/lib/mirrors/metadata_test.dart
|
| +++ b/tests/lib/mirrors/metadata_test.dart
|
| @@ -54,17 +54,17 @@ main() {
|
| ClassMirror myClassMirror = reflectClass(MyClass);
|
| checkMetadata(myClassMirror, [symbol, string]);
|
| LibraryMirror lib = mirrors.findLibrary(#test.metadata_test);
|
| - MethodMirror function = lib.functions[#main];
|
| + MethodMirror function = lib.declarations[#main];
|
| checkMetadata(function, [symbol, string, symbol]);
|
| - MethodMirror method = myClassMirror.methods[#myMethod];
|
| + MethodMirror method = myClassMirror.declarations[#myMethod];
|
| checkMetadata(method, [string, symbol, string]);
|
| - method = myClassMirror.methods[#myOtherMethod];
|
| + method = myClassMirror.declarations[#myOtherMethod];
|
| checkMetadata(method, []);
|
|
|
| - VariableMirror xMirror = myClassMirror.variables[#x];
|
| + VariableMirror xMirror = myClassMirror.declarations[#x];
|
| checkMetadata(xMirror, [hest, hest, symbol]);
|
|
|
| - VariableMirror yMirror = myClassMirror.variables[#y];
|
| + VariableMirror yMirror = myClassMirror.declarations[#y];
|
| checkMetadata(yMirror, []);
|
|
|
| // TODO(ahe): Test local functions.
|
|
|