Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart

Issue 11707002: Revert "NoSuchMethod on different super accesses/invocations handled." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
index c53d6499a9f7b828694c056c6af4886b3e89f87b..39e1c5c8f651b7254d2ac1d00b522d3925ff7525 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
@@ -380,7 +380,7 @@ class JSInvocationMirror implements InvocationMirror {
bool get isAccessor => _kind != METHOD;
List get positionalArguments {
- if (isGetter) return const [];
+ if (isGetter) return null;
var list = [];
var argumentCount =
_arguments.length - _namedArgumentNames.length;
@@ -391,7 +391,7 @@ class JSInvocationMirror implements InvocationMirror {
}
Map<String,dynamic> get namedArguments {
- if (isAccessor) return const <String,dynamic>{};
+ if (isAccessor) return null;
var map = <String,dynamic>{};
int namedArgumentCount = _namedArgumentNames.length;
int namedArgumentsStartIndex = _arguments.length - namedArgumentCount;

Powered by Google App Engine
This is Rietveld 408576698