| Index: tools/dom/src/html_native_DOMImplementation.dart
|
| diff --git a/tools/dom/src/html_native_DOMImplementation.dart b/tools/dom/src/html_native_DOMImplementation.dart
|
| index 457db86b4bc8f5859c873f54ec3062447ff2a45a..4ac5eff90ae8d0a60aa46e7c25d6839b7c3da703 100644
|
| --- a/tools/dom/src/html_native_DOMImplementation.dart
|
| +++ b/tools/dom/src/html_native_DOMImplementation.dart
|
| @@ -522,7 +522,8 @@ class _Utils {
|
| static String describeFunction(function) {
|
| if (function is _Trampoline) return function._methodMirror.source;
|
| try {
|
| - return reflect(function).function.source;
|
| + var mirror = reflect(function);
|
| + return mirror.function.source;
|
| } catch (e) {
|
| return function.toString();
|
| }
|
| @@ -627,7 +628,7 @@ class _Utils {
|
| }
|
|
|
| static void _fillMethodMirrorProperty(LibraryMirror libraryMirror,
|
| - Mirror methodOwner, MethodMirror methodMirror, Symbol symbol,
|
| + methodOwner, MethodMirror methodMirror, Symbol symbol,
|
| bool accessorPropertiesOnly, _Property property) {
|
| if (methodMirror.isRegularMethod) {
|
| property
|
| @@ -673,7 +674,7 @@ class _Utils {
|
| bool ownProperties, bool accessorPropertiesOnly,
|
| bool hideFields, bool hideMethods,
|
| Map<String, _Property> properties) {
|
| - declarations.forEach((Symbol symbol, Mirror declaration) {
|
| + declarations.forEach((symbol, declaration) {
|
| if (declaration is TypedefMirror || declaration is ClassMirror) return;
|
| var name = _getShortSymbolName(symbol, declaration);
|
| if (name.isEmpty) return;
|
|
|