Index: sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart |
index 8a2f57c1c571ff786de8d8f67c8c65aa67085e69..58d1549657189a9549295cf67a55aae2e81c967f 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart |
@@ -66,7 +66,7 @@ class _InstanceMirror extends InstanceMirror { |
JS('var', '#.apply(#, #)', method, reflectee, jsList); |
completer.complete(new _InstanceMirror(result)); |
} else { |
- completer.completeException('not a method $memberName'); |
+ completer.completeError('not a method $memberName'); |
} |
}); |
return completer.future; |