| Index: sdk/lib/mirrors/mirrors.dart
|
| diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart
|
| index b0d39d9c1262150a388d36111a8e4319868b8391..b84f37b392ee43da1a45191c25b4a94a0230e41e 100644
|
| --- a/sdk/lib/mirrors/mirrors.dart
|
| +++ b/sdk/lib/mirrors/mirrors.dart
|
| @@ -531,13 +531,6 @@ abstract class ClosureMirror implements InstanceMirror {
|
| MethodMirror get function;
|
|
|
| /**
|
| - * The source code for this closure, if available. Otherwise null.
|
| - *
|
| - * TODO(turnidge): Would this just be available in function?
|
| - */
|
| - String get source;
|
| -
|
| - /**
|
| * Executes the closure and returns a mirror on the result.
|
| * Let *f* be the closure reflected by this mirror,
|
| * let *a1, ..., an* be the elements of [positionalArguments]
|
| @@ -940,6 +933,11 @@ abstract class MethodMirror implements DeclarationMirror {
|
| TypeMirror get returnType;
|
|
|
| /**
|
| + * The source code for the reflectee, if available. Otherwise null.
|
| + */
|
| + String get source;
|
| +
|
| + /**
|
| * A list of mirrors on the parameters for the reflectee.
|
| */
|
| List<ParameterMirror> get parameters;
|
|
|